#CFC85B#CFC85B

#CFC85B is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.131 H 105.6°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CFC85B
RGBrgb(207, 200, 91)
HSLhsl(56, 55%, 58%)
HSVhsv(56, 56%, 81%)
CMYKcmyk(0%, 3.4%, 56%, 18.8%)
CIE-LABlab(79.23, -11.55, 54.36)
CIE-LCHlch(79.23, 55.57, 101.99°)
OKLaboklab(81.7% -0.0351 0.1262)
OKLCHoklch(81.7% 0.131 105.6)
XYZxyz(48.2762, 55.3308, 18.0324)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC85B #5B62CF
analogous
#CF8E5B #CFC85B #9CCF5B
triadic
#CFC85B #5BCFC8 #C85BCF
tetradic
#CFC85B #5BCF8E #5B62CF #CF5B9C
square
#CFC85B #5BCF8E #5B62CF #CF5B9C
split-complementary
#CFC85B #5B9CCF #8E5BCF
monochromatic
#888228 #B7AF36 #CFC85B #DDD88A #EBE8BA

Accessibility & contrast

On white

1.74
#CFC85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CFC85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC85B
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC85B#FFFFFF#000000##000000
##CFC85B1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C150
Deuteranopia (green-blind)
#DAC761
Tritanopia (blue-blind)
#DDBCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc85b;
/* rgb */ color: rgb(207, 200, 91);
/* oklch */ color: oklch(81.7% 0.131 105.6);
Tailwind
colors: {
  custom: {
    50: '#e0d88d',
    500: '#cfc85b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc85b;
$custom-light: #e0d88d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc85b",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 91
  },
  "hsl": {
    "h": 56.379,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81697,
    "c": 0.13102,
    "h": 105.6
  },
  "luminance": 0.55329
}

Semantic roles & 50–950 ramp

primary
#CFC85B
secondary
#40448F
accent
#53DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC85B

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

Preview Lab → · Contrast checker → · Palette generator →

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