#CFC55B#CFC55B

#CFC55B is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.128 H 103.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CFC55B
RGBrgb(207, 197, 91)
HSLhsl(55, 55%, 58%)
HSVhsv(55, 56%, 81%)
CMYKcmyk(0%, 4.8%, 56%, 18.8%)
CIE-LABlab(78.44, -10.02, 53.46)
CIE-LCHlch(78.44, 54.39, 100.62°)
OKLaboklab(81.06% -0.0308 0.1243)
OKLCHoklch(81.06% 0.128 103.9)
XYZxyz(47.5882, 53.9549, 17.8031)
Luminance0.5395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC55B #5B65CF
analogous
#CF8B5B #CFC55B #9FCF5B
triadic
#CFC55B #5BCFC5 #C55BCF
tetradic
#CFC55B #5BCF8B #5B65CF #CF5B9F
square
#CFC55B #5BCF8B #5B65CF #CF5B9F
split-complementary
#CFC55B #5B9FCF #8B5BCF
monochromatic
#888028 #B7AC36 #CFC55B #DDD68A #EBE6BA

Accessibility & contrast

On white

1.78
#CFC55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CFC55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC55B
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC55B#FFFFFF#000000##000000
##CFC55B1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF50
Deuteranopia (green-blind)
#D8C560
Tritanopia (blue-blind)
#DDB9AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc55b;
/* rgb */ color: rgb(207, 197, 91);
/* oklch */ color: oklch(81.1% 0.128 103.9);
Tailwind
colors: {
  custom: {
    50: '#e0d68d',
    500: '#cfc55b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc55b;
$custom-light: #e0d68d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc55b",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 91
  },
  "hsl": {
    "h": 54.828,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81064,
    "c": 0.12803,
    "h": 103.9
  },
  "luminance": 0.53953
}

Semantic roles & 50–950 ramp

primary
#CFC55B
secondary
#40468F
accent
#57DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC55B

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

Preview Lab → · Contrast checker → · Palette generator →

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