#CFC06C#CFC06C

#CFC06C is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.107 H 99.4°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CFC06C
RGBrgb(207, 192, 108)
HSLhsl(51, 51%, 62%)
HSVhsv(51, 48%, 81%)
CMYKcmyk(0%, 7.2%, 47.8%, 18.8%)
CIE-LABlab(77.31, -6.00, 43.98)
CIE-LCHlch(77.31, 44.39, 97.77°)
OKLaboklab(80.23% -0.0174 0.1052)
OKLCHoklch(80.23% 0.107 99.4)
XYZxyz(47.2899, 52.0490, 21.7399)
Luminance0.5205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC06C #6C7BCF
analogous
#CF8F6C #CFC06C #ADCF6C
triadic
#CFC06C #6CCFC0 #C06CCF
tetradic
#CFC06C #6CCF8F #6C7BCF #CF6CAD
square
#CFC06C #6CCF8F #6C7BCF #CF6CAD
split-complementary
#CFC06C #6CADCF #8F6CCF
monochromatic
#91822F #BFAC3E #CFC06C #DED49A #EDE8C8

Accessibility & contrast

On white

1.84
#CFC06C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CFC06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC06C
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC06C#FFFFFF#000000##000000
##CFC06C1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC65
Deuteranopia (green-blind)
#D3C170
Tritanopia (blue-blind)
#DCB5AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc06c;
/* rgb */ color: rgb(207, 192, 108);
/* oklch */ color: oklch(80.2% 0.107 99.4);
Tailwind
colors: {
  custom: {
    50: '#dfd298',
    500: '#cfc06c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc06c;
$custom-light: #dfd298;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc06c",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 108
  },
  "hsl": {
    "h": 50.909,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80234,
    "c": 0.10666,
    "h": 99.4
  },
  "luminance": 0.52047
}

Semantic roles & 50–950 ramp

primary
#CFC06C
secondary
#485497
accent
#3EBE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC06C

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

Preview Lab → · Contrast checker → · Palette generator →

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