#CFC06B#CFC06B

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

Color values

HEX#CFC06B
RGBrgb(207, 192, 107)
HSLhsl(51, 51%, 62%)
HSVhsv(51, 48%, 81%)
CMYKcmyk(0%, 7.2%, 48.3%, 18.8%)
CIE-LABlab(77.30, -6.09, 44.46)
CIE-LCHlch(77.30, 44.88, 97.80°)
OKLaboklab(80.22% -0.0178 0.1062)
OKLCHoklch(80.22% 0.108 99.5)
XYZxyz(47.2369, 52.0279, 21.4612)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC06B #6B7ACF
analogous
#CF8E6B #CFC06B #ACCF6B
triadic
#CFC06B #6BCFC0 #C06BCF
tetradic
#CFC06B #6BCF8E #6B7ACF #CF6BAC
square
#CFC06B #6BCF8E #6B7ACF #CF6BAC
split-complementary
#CFC06B #6BACCF #8E6BCF
monochromatic
#91822F #BFAC3E #CFC06B #DED499 #EDE7C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC06B#FFFFFF#000000##000000
##CFC06B1.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)
#CEBC64
Deuteranopia (green-blind)
#D3C16F
Tritanopia (blue-blind)
#DCB5AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc06b;
/* rgb */ color: rgb(207, 192, 107);
/* oklch */ color: oklch(80.2% 0.108 99.5);
Tailwind
colors: {
  custom: {
    50: '#dfd297',
    500: '#cfc06b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc06b;
$custom-light: #dfd297;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc06b",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 107
  },
  "hsl": {
    "h": 51,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8022,
    "c": 0.1077,
    "h": 99.5
  },
  "luminance": 0.52026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC06B

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

Preview Lab → · Contrast checker → · Palette generator →

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