#CFC85A#CFC85A

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

Color values

HEX#CFC85A
RGBrgb(207, 200, 90)
HSLhsl(56, 55%, 58%)
HSVhsv(56, 57%, 81%)
CMYKcmyk(0%, 3.4%, 56.5%, 18.8%)
CIE-LABlab(79.22, -11.62, 54.80)
CIE-LCHlch(79.22, 56.02, 101.97°)
OKLaboklab(81.69% -0.0355 0.1271)
OKLCHoklch(81.69% 0.132 105.6)
XYZxyz(48.2334, 55.3137, 17.8067)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC85A #5A61CF
analogous
#CF8D5A #CFC85A #9BCF5A
triadic
#CFC85A #5ACFC8 #C85ACF
tetradic
#CFC85A #5ACF8D #5A61CF #CF5A9B
square
#CFC85A #5ACF8D #5A61CF #CF5A9B
split-complementary
#CFC85A #5A9BCF #8D5ACF
monochromatic
#878227 #B7AF35 #CFC85A #DDD889 #EBE8B9

Accessibility & contrast

On white

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

On black

12.06
#CFC85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC85A
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC85A#FFFFFF#000000##000000
##CFC85A1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc85a;
/* rgb */ color: rgb(207, 200, 90);
/* oklch */ color: oklch(81.7% 0.132 105.6);
Tailwind
colors: {
  custom: {
    50: '#e0d88c',
    500: '#cfc85a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc85a;
$custom-light: #e0d88c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc85a",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 90
  },
  "hsl": {
    "h": 56.41,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81686,
    "c": 0.13192,
    "h": 105.6
  },
  "luminance": 0.55312
}

Semantic roles & 50–950 ramp

primary
#CFC85A
secondary
#3F448E
accent
#52DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC85A

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

Preview Lab → · Contrast checker → · Palette generator →

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