#CFCD5B#CFCD5B

#CFCD5B is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.136 H 108.1°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CFCD5B
RGBrgb(207, 205, 91)
HSLhsl(59, 55%, 58%)
HSVhsv(59, 56%, 81%)
CMYKcmyk(0%, 1%, 56%, 18.8%)
CIE-LABlab(80.56, -14.07, 55.87)
CIE-LCHlch(80.56, 57.61, 104.14°)
OKLaboklab(82.76% -0.0423 0.1295)
OKLCHoklch(82.76% 0.136 108.1)
XYZxyz(49.4532, 57.6847, 18.4247)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD5B #5B5DCF
analogous
#CF935B #CFCD5B #97CF5B
triadic
#CFCD5B #5BCFCD #CD5BCF
tetradic
#CFCD5B #5BCF93 #5B5DCF #CF5B97
square
#CFCD5B #5BCF93 #5B5DCF #CF5B97
split-complementary
#CFCD5B #5B97CF #935BCF
monochromatic
#888628 #B7B536 #CFCD5B #DDDB8A #EBEABA

Accessibility & contrast

On white

1.68
#CFCD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CFCD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD5B
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD5B#FFFFFF#000000##000000
##CFCD5B1.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64F
Deuteranopia (green-blind)
#DECA61
Tritanopia (blue-blind)
#DCC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd5b;
/* rgb */ color: rgb(207, 205, 91);
/* oklch */ color: oklch(82.8% 0.136 108.1);
Tailwind
colors: {
  custom: {
    50: '#e0dc8d',
    500: '#cfcd5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd5b;
$custom-light: #e0dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd5b",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 58.966,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82757,
    "c": 0.1362,
    "h": 108.1
  },
  "luminance": 0.57683
}

Semantic roles & 50–950 ramp

primary
#CFCD5B
secondary
#40418F
accent
#4CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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