#CFC06D#CFC06D

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

Color values

HEX#CFC06D
RGBrgb(207, 192, 109)
HSLhsl(51, 51%, 62%)
HSVhsv(51, 47%, 81%)
CMYKcmyk(0%, 7.2%, 47.3%, 18.8%)
CIE-LABlab(77.32, -5.91, 43.50)
CIE-LCHlch(77.32, 43.90, 97.73°)
OKLaboklab(80.25% -0.017 0.1042)
OKLCHoklch(80.25% 0.106 99.3)
XYZxyz(47.3434, 52.0704, 22.0218)
Luminance0.5207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC06D #6D7CCF
analogous
#CF8F6D #CFC06D #ADCF6D
triadic
#CFC06D #6DCFC0 #C06DCF
tetradic
#CFC06D #6DCF8F #6D7CCF #CF6DAD
square
#CFC06D #6DCF8F #6D7CCF #CF6DAD
split-complementary
#CFC06D #6DADCF #8F6DCF
monochromatic
#928330 #C0AC3F #CFC06D #DED49B #EDE8C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC06D#FFFFFF#000000##000000
##CFC06D1.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)
#CEBC66
Deuteranopia (green-blind)
#D3C270
Tritanopia (blue-blind)
#DCB5AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc06d;
/* rgb */ color: rgb(207, 192, 109);
/* oklch */ color: oklch(80.2% 0.106 99.3);
Tailwind
colors: {
  custom: {
    50: '#dfd298',
    500: '#cfc06d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc06d;
$custom-light: #dfd298;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc06d",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 109
  },
  "hsl": {
    "h": 50.816,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.80248,
    "c": 0.10562,
    "h": 99.3
  },
  "luminance": 0.52069
}

Semantic roles & 50–950 ramp

primary
#CFC06D
secondary
#485598
accent
#3FBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC06D

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

Preview Lab → · Contrast checker → · Palette generator →

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