#CFC85D#CFC85D

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

Color values

HEX#CFC85D
RGBrgb(207, 200, 93)
HSLhsl(56, 54%, 59%)
HSVhsv(56, 55%, 81%)
CMYKcmyk(0%, 3.4%, 55.1%, 18.8%)
CIE-LABlab(79.25, -11.39, 53.47)
CIE-LCHlch(79.25, 54.67, 102.03°)
OKLaboklab(81.72% -0.0345 0.1245)
OKLCHoklch(81.72% 0.129 105.5)
XYZxyz(48.3636, 55.3658, 18.4928)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC85D #5D64CF
analogous
#CF8F5D #CFC85D #9DCF5D
triadic
#CFC85D #5DCFC8 #C85DCF
tetradic
#CFC85D #5DCF8F #5D64CF #CF5D9D
square
#CFC85D #5DCF8F #5D64CF #CF5D9D
split-complementary
#CFC85D #5D9DCF #8F5DCF
monochromatic
#898329 #B8B037 #CFC85D #DDD88C #EBE8BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC85D#FFFFFF#000000##000000
##CFC85D1.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)
#D7C252
Deuteranopia (green-blind)
#DAC763
Tritanopia (blue-blind)
#DDBCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc85d;
/* rgb */ color: rgb(207, 200, 93);
/* oklch */ color: oklch(81.7% 0.129 105.5);
Tailwind
colors: {
  custom: {
    50: '#e0d88e',
    500: '#cfc85d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc85d;
$custom-light: #e0d88e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc85d",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 93
  },
  "hsl": {
    "h": 56.316,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81719,
    "c": 0.12922,
    "h": 105.5
  },
  "luminance": 0.55364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC85D

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

Preview Lab → · Contrast checker → · Palette generator →

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