#CFCC5B#CFCC5B

#CFCC5B is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.135 H 107.6°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#CFCC5B
RGBrgb(207, 204, 91)
HSLhsl(58, 55%, 58%)
HSVhsv(58, 56%, 81%)
CMYKcmyk(0%, 1.4%, 56%, 18.8%)
CIE-LABlab(80.30, -13.57, 55.57)
CIE-LCHlch(80.30, 57.20, 103.72°)
OKLaboklab(82.55% -0.0409 0.1288)
OKLCHoklch(82.55% 0.135 107.6)
XYZxyz(49.2147, 57.2079, 18.3452)
Luminance0.5721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC5B #5B5ECF
analogous
#CF925B #CFCC5B #98CF5B
triadic
#CFCC5B #5BCFCC #CC5BCF
tetradic
#CFCC5B #5BCF92 #5B5ECF #CF5B98
square
#CFCC5B #5BCF92 #5B5ECF #CF5B98
split-complementary
#CFCC5B #5B98CF #925BCF
monochromatic
#888528 #B7B436 #CFCC5B #DDDB8A #EBE9BA

Accessibility & contrast

On white

1.69
#CFCC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#CFCC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC5B
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC5B#FFFFFF#000000##000000
##CFCC5B1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54F
Deuteranopia (green-blind)
#DDC961
Tritanopia (blue-blind)
#DCC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc5b;
/* rgb */ color: rgb(207, 204, 91);
/* oklch */ color: oklch(82.5% 0.135 107.6);
Tailwind
colors: {
  custom: {
    50: '#e0db8d',
    500: '#cfcc5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc5b;
$custom-light: #e0db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc5b",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 58.448,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82545,
    "c": 0.13515,
    "h": 107.6
  },
  "luminance": 0.57206
}

Semantic roles & 50–950 ramp

primary
#CFCC5B
secondary
#40428F
accent
#4EDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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