#CFC299#CFC299

#CFC299 is a light, muted yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.057 H 92.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CFC299
RGBrgb(207, 194, 153)
HSLhsl(46, 36%, 71%)
HSVhsv(46, 26%, 81%)
CMYKcmyk(0%, 6.3%, 26.1%, 18.8%)
CIE-LABlab(78.55, -1.84, 22.32)
CIE-LCHlch(78.55, 22.39, 94.71°)
OKLaboklab(81.45% -0.0025 0.0567)
OKLCHoklch(81.45% 0.057 92.6)
XYZxyz(50.7739, 54.1501, 37.9082)
Luminance0.5415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC299 #99A6CF
analogous
#CFA799 #CFC299 #C1CF99
triadic
#CFC299 #99CFC2 #C299CF
tetradic
#CFC299 #99CFA7 #99A6CF #CF99C1
square
#CFC299 #99CFA7 #99A6CF #CF99C1
split-complementary
#CFC299 #99C1CF #A799CF
monochromatic
#A28D4C #BBA96F #CFC299 #E3DBC3 #F5F3EA

Accessibility & contrast

On white

1.78
#CFC299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CFC299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC299
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC299#FFFFFF#000000##000000
##CFC2991.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBC096
Deuteranopia (green-blind)
#CFC49A
Tritanopia (blue-blind)
#D8BCB7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc299;
/* rgb */ color: rgb(207, 194, 153);
/* oklch */ color: oklch(81.4% 0.057 92.6);
Tailwind
colors: {
  custom: {
    50: '#ded4b7',
    500: '#cfc299',
    950: '#000000',
  },
}
SCSS
$custom: #cfc299;
$custom-light: #ded4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc299",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 153
  },
  "hsl": {
    "h": 45.556,
    "s": 36,
    "l": 70.588
  },
  "oklch": {
    "l": 0.81447,
    "c": 0.05671,
    "h": 92.6
  },
  "luminance": 0.54149
}

Semantic roles & 50–950 ramp

primary
#CFC299
secondary
#6876A5
accent
#54AF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFC299

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

Preview Lab → · Contrast checker → · Palette generator →

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