#CFCE8F#CFCE8F

#CFCE8F is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.7% C 0.082 H 107.3°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#CFCE8F
RGBrgb(207, 206, 143)
HSLhsl(59, 40%, 69%)
HSVhsv(59, 31%, 81%)
CMYKcmyk(0%, 0.5%, 30.9%, 18.8%)
CIE-LABlab(81.51, -9.36, 31.55)
CIE-LCHlch(81.51, 32.91, 106.53°)
OKLaboklab(83.73% -0.0244 0.0785)
OKLCHoklch(83.73% 0.082 107.3)
XYZxyz(52.7617, 59.3921, 34.6657)
Luminance0.5939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE8F #8F90CF
analogous
#CFAE8F #CFCE8F #B0CF8F
triadic
#CFCE8F #8FCFCE #CE8FCF
tetradic
#CFCE8F #8FCFAE #8F90CF #CF8FB0
square
#CFCE8F #8FCFAE #8F90CF #CF8FB0
split-complementary
#CFCE8F #8FB0CF #AE8FCF
monochromatic
#9F9E44 #BDBB64 #CFCE8F #E1E1BA #F4F3E5

Accessibility & contrast

On white

1.63
#CFCE8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#CFCE8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE8F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE8F#FFFFFF#000000##000000
##CFCE8F1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C98B
Deuteranopia (green-blind)
#DACC91
Tritanopia (blue-blind)
#D8C6BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfce8f;
/* rgb */ color: rgb(207, 206, 143);
/* oklch */ color: oklch(83.7% 0.082 107.3);
Tailwind
colors: {
  custom: {
    50: '#dedcb0',
    500: '#cfce8f',
    950: '#000000',
  },
}
SCSS
$custom: #cfce8f;
$custom-light: #dedcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce8f",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 143
  },
  "hsl": {
    "h": 59.063,
    "s": 40,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83728,
    "c": 0.08224,
    "h": 107.3
  },
  "luminance": 0.59391
}

Semantic roles & 50–950 ramp

primary
#CFCE8F
secondary
#5E5FA4
accent
#34B332
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCE8F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFCE8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva