#CFC060#CFC060

#CFC060 is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.119 H 100.6°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CFC060
RGBrgb(207, 192, 96)
HSLhsl(52, 54%, 59%)
HSVhsv(52, 54%, 81%)
CMYKcmyk(0%, 7.2%, 53.6%, 18.8%)
CIE-LABlab(77.17, -7.06, 49.65)
CIE-LCHlch(77.17, 50.15, 98.09°)
OKLaboklab(80.08% -0.0217 0.1166)
OKLCHoklch(80.08% 0.119 100.6)
XYZxyz(46.6946, 51.8109, 18.6049)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC060 #606FCF
analogous
#CF8960 #CFC060 #A7CF60
triadic
#CFC060 #60CFC0 #C060CF
tetradic
#CFC060 #60CF89 #606FCF #CF60A7
square
#CFC060 #60CF89 #606FCF #CF60A7
split-complementary
#CFC060 #60A7CF #8960CF
monochromatic
#8B7E2A #BAA838 #CFC060 #DDD38F #EBE5BE

Accessibility & contrast

On white

1.85
#CFC060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CFC060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC060
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC060#FFFFFF#000000##000000
##CFC0601.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB57
Deuteranopia (green-blind)
#D4C164
Tritanopia (blue-blind)
#DDB4AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc060;
/* rgb */ color: rgb(207, 192, 96);
/* oklch */ color: oklch(80.1% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#e0d290',
    500: '#cfc060',
    950: '#000000',
  },
}
SCSS
$custom: #cfc060;
$custom-light: #e0d290;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc060",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 96
  },
  "hsl": {
    "h": 51.892,
    "s": 53.623,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80075,
    "c": 0.11862,
    "h": 100.6
  },
  "luminance": 0.51809
}

Semantic roles & 50–950 ramp

primary
#CFC060
secondary
#424D91
accent
#5FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC060

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

Preview Lab → · Contrast checker → · Palette generator →

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