#CFEC8D

A color in the Green family

#cfec8d is a color in the Green family: RGB(207, 236, 141), HSL(78°, 71%, 74%), CMYK(12%, 0%, 40%, 7%). Closest named color: khaki. Contrast is 1.31:1 on white and 16.04:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cfec8d
RGBrgb(207 236 141)
RGB (legacy)rgb(207, 236, 141)
RGB %rgb(81% 93% 55%)
HSLhsl(78 71% 74%)
HSV / HSBhsv(78, 40%, 93%)
HWBhwb(78 55% 7%)
CMYKcmyk(12%, 0%, 40%, 7%)
CIELAB (D50)lab(89.69 -20.94 42.66)
LCHlch(89.69 47.53 116.15)
OKLaboklab(0.9007 -0.0674 0.1047)
OKLCHoklch(0.9007 0.1245 122.76)
Decimal13626509

Properties

Color ToneGreen
Closest named colorkhaki ΔE 4.5
Closest web-safe color#ccff99
Hue78°
Saturation (HSL / HSV)71% / 40%
Lightness (HSL)74%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)85% / 87%
Relative luminance (WCAG)0.7518
Red / Green / Blue207 / 236 / 141

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.31:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.04:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 15.3 / -88.5 · As background with white / black text: Lc -17.5 / 88.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #cfec8d;
  --color-brand-oklch: oklch(90.07% 0.1245 122.76);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(207 236 141 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cfec8d] text-[#cfec8d] border-[#cfec8d]">