#CFC54D#CFC54D

#CFC54D is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.9% C 0.140 H 104.6°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CFC54D
RGBrgb(207, 197, 77)
HSLhsl(55, 58%, 56%)
HSVhsv(55, 63%, 81%)
CMYKcmyk(0%, 4.8%, 62.8%, 18.8%)
CIE-LABlab(78.31, -11.00, 59.50)
CIE-LCHlch(78.31, 60.51, 100.47°)
OKLaboklab(80.92% -0.0351 0.1354)
OKLCHoklch(80.92% 0.14 104.6)
XYZxyz(47.0397, 53.7354, 14.9139)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC54D #4D57CF
analogous
#CF844D #CFC54D #98CF4D
triadic
#CFC54D #4DCFC5 #C54DCF
tetradic
#CFC54D #4DCF84 #4D57CF #CF4D98
square
#CFC54D #4DCF84 #4D57CF #CF4D98
split-complementary
#CFC54D #4D98CF #844DCF
monochromatic
#7F7822 #AFA62F #CFC54D #DCD57D #E9E4AD

Accessibility & contrast

On white

1.79
#CFC54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CFC54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC54D
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC54D#FFFFFF#000000##000000
##CFC54D1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3E
Deuteranopia (green-blind)
#D9C454
Tritanopia (blue-blind)
#DEB8AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc54d;
/* rgb */ color: rgb(207, 197, 77);
/* oklch */ color: oklch(80.9% 0.140 104.6);
Tailwind
colors: {
  custom: {
    50: '#e1d684',
    500: '#cfc54d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc54d;
$custom-light: #e1d684;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc54d",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 55.385,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80921,
    "c": 0.13983,
    "h": 104.6
  },
  "luminance": 0.53734
}

Semantic roles & 50–950 ramp

primary
#CFC54D
secondary
#393F87
accent
#53E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC54D

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

Preview Lab → · Contrast checker → · Palette generator →

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