#CFC06A#CFC06A

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

Color values

HEX#CFC06A
RGBrgb(207, 192, 106)
HSLhsl(51, 51%, 61%)
HSVhsv(51, 49%, 81%)
CMYKcmyk(0%, 7.2%, 48.8%, 18.8%)
CIE-LABlab(77.28, -6.19, 44.94)
CIE-LCHlch(77.28, 45.37, 97.84°)
OKLaboklab(80.21% -0.0181 0.1072)
OKLCHoklch(80.21% 0.109 99.6)
XYZxyz(47.1846, 52.0069, 21.1857)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC06A #6A79CF
analogous
#CF8E6A #CFC06A #ACCF6A
triadic
#CFC06A #6ACFC0 #C06ACF
tetradic
#CFC06A #6ACF8E #6A79CF #CF6AAC
square
#CFC06A #6ACF8E #6A79CF #CF6AAC
split-complementary
#CFC06A #6AACCF #8E6ACF
monochromatic
#90822E #BEAB3D #CFC06A #DED498 #EDE7C7

Accessibility & contrast

On white

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

On black

11.40
#CFC06A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC06A
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC06A#FFFFFF#000000##000000
##CFC06A1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc06a;
/* rgb */ color: rgb(207, 192, 106);
/* oklch */ color: oklch(80.2% 0.109 99.6);
Tailwind
colors: {
  custom: {
    50: '#e0d296',
    500: '#cfc06a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc06a;
$custom-light: #e0d296;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc06a",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 106
  },
  "hsl": {
    "h": 51.089,
    "s": 51.269,
    "l": 61.373
  },
  "oklch": {
    "l": 0.80206,
    "c": 0.10873,
    "h": 99.6
  },
  "luminance": 0.52005
}

Semantic roles & 50–950 ramp

primary
#CFC06A
secondary
#475396
accent
#3DBF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC06A

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

Preview Lab → · Contrast checker → · Palette generator →

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