#CFC54A#CFC54A

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

Color values

HEX#CFC54A
RGBrgb(207, 197, 74)
HSLhsl(55, 58%, 55%)
HSVhsv(55, 64%, 81%)
CMYKcmyk(0%, 4.8%, 64.3%, 18.8%)
CIE-LABlab(78.28, -11.18, 60.73)
CIE-LCHlch(78.28, 61.75, 100.43°)
OKLaboklab(80.89% -0.036 0.1375)
OKLCHoklch(80.89% 0.142 104.7)
XYZxyz(46.9362, 53.6940, 14.3688)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC54A #4A54CF
analogous
#CF834A #CFC54A #96CF4A
triadic
#CFC54A #4ACFC5 #C54ACF
tetradic
#CFC54A #4ACF83 #4A54CF #CF4A96
square
#CFC54A #4ACF83 #4A54CF #CF4A96
split-complementary
#CFC54A #4A96CF #834ACF
monochromatic
#7D7621 #AEA42E #CFC54A #DCD57A #E9E4AB

Accessibility & contrast

On white

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

On black

11.74
#CFC54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC54A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC54A#FFFFFF#000000##000000
##CFC54A1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3A
Deuteranopia (green-blind)
#D9C451
Tritanopia (blue-blind)
#DEB8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc54a;
/* rgb */ color: rgb(207, 197, 74);
/* oklch */ color: oklch(80.9% 0.142 104.7);
Tailwind
colors: {
  custom: {
    50: '#e1d682',
    500: '#cfc54a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc54a;
$custom-light: #e1d682;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc54a",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 55.489,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80894,
    "c": 0.14214,
    "h": 104.7
  },
  "luminance": 0.53692
}

Semantic roles & 50–950 ramp

primary
#CFC54A
secondary
#383E85
accent
#52E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC54A

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

Preview Lab → · Contrast checker → · Palette generator →

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