#CFC06F#CFC06F

#CFC06F is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.104 H 99.1°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CFC06F
RGBrgb(207, 192, 111)
HSLhsl(51, 50%, 62%)
HSVhsv(51, 46%, 81%)
CMYKcmyk(0%, 7.2%, 46.4%, 18.8%)
CIE-LABlab(77.35, -5.71, 42.54)
CIE-LCHlch(77.35, 42.92, 97.65°)
OKLaboklab(80.28% -0.0163 0.1022)
OKLCHoklch(80.28% 0.104 99.1)
XYZxyz(47.4523, 52.1140, 22.5953)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC06F #6F7ECF
analogous
#CF906F #CFC06F #AECF6F
triadic
#CFC06F #6FCFC0 #C06FCF
tetradic
#CFC06F #6FCF90 #6F7ECF #CF6FAE
square
#CFC06F #6FCF90 #6F7ECF #CF6FAE
split-complementary
#CFC06F #6FAECF #906FCF
monochromatic
#938331 #C0AC41 #CFC06F #DED49D #EEE8CB

Accessibility & contrast

On white

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

On black

11.42
#CFC06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC06F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC06F#FFFFFF#000000##000000
##CFC06F1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC68
Deuteranopia (green-blind)
#D2C272
Tritanopia (blue-blind)
#DCB6AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc06f;
/* rgb */ color: rgb(207, 192, 111);
/* oklch */ color: oklch(80.3% 0.104 99.1);
Tailwind
colors: {
  custom: {
    50: '#dfd29a',
    500: '#cfc06f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc06f;
$custom-light: #dfd29a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc06f",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 111
  },
  "hsl": {
    "h": 50.625,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.80277,
    "c": 0.10352,
    "h": 99.1
  },
  "luminance": 0.52112
}

Semantic roles & 50–950 ramp

primary
#CFC06F
secondary
#4A5699
accent
#3FBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC06F

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

Preview Lab → · Contrast checker → · Palette generator →

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