#CFC66D#CFC66D

#CFC66D is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.112 H 103.4°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CFC66D
RGBrgb(207, 198, 109)
HSLhsl(54, 51%, 62%)
HSVhsv(54, 47%, 81%)
CMYKcmyk(0%, 4.3%, 47.3%, 18.8%)
CIE-LABlab(78.90, -9.00, 45.44)
CIE-LCHlch(78.90, 46.32, 101.20°)
OKLaboklab(81.5% -0.0259 0.1085)
OKLCHoklch(81.5% 0.112 103.4)
XYZxyz(48.6877, 54.7592, 22.4699)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC66D #6D76CF
analogous
#CF956D #CFC66D #A7CF6D
triadic
#CFC66D #6DCFC6 #C66DCF
tetradic
#CFC66D #6DCF95 #6D76CF #CF6DA7
square
#CFC66D #6DCF95 #6D76CF #CF6DA7
split-complementary
#CFC66D #6DA7CF #956DCF
monochromatic
#928930 #C0B43F #CFC66D #DED89B #EDEAC9

Accessibility & contrast

On white

1.76
#CFC66D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CFC66D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC66D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC66D#FFFFFF#000000##000000
##CFC66D1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C165
Deuteranopia (green-blind)
#D7C671
Tritanopia (blue-blind)
#DCBBB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc66d;
/* rgb */ color: rgb(207, 198, 109);
/* oklch */ color: oklch(81.5% 0.112 103.4);
Tailwind
colors: {
  custom: {
    50: '#dfd799',
    500: '#cfc66d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc66d;
$custom-light: #dfd799;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc66d",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 109
  },
  "hsl": {
    "h": 54.49,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.815,
    "c": 0.11158,
    "h": 103.4
  },
  "luminance": 0.54758
}

Semantic roles & 50–950 ramp

primary
#CFC66D
secondary
#485098
accent
#35BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC66D

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

Preview Lab → · Contrast checker → · Palette generator →

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