#CFC55D#CFC55D

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

Color values

HEX#CFC55D
RGBrgb(207, 197, 93)
HSLhsl(55, 54%, 59%)
HSVhsv(55, 55%, 81%)
CMYKcmyk(0%, 4.8%, 55.1%, 18.8%)
CIE-LABlab(78.46, -9.86, 52.56)
CIE-LCHlch(78.46, 53.47, 100.63°)
OKLaboklab(81.09% -0.0301 0.1226)
OKLCHoklch(81.09% 0.126 103.8)
XYZxyz(47.6757, 53.9898, 18.2635)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC55D #5D67CF
analogous
#CF8C5D #CFC55D #A0CF5D
triadic
#CFC55D #5DCFC5 #C55DCF
tetradic
#CFC55D #5DCF8C #5D67CF #CF5DA0
square
#CFC55D #5DCF8C #5D67CF #CF5DA0
split-complementary
#CFC55D #5DA0CF #8C5DCF
monochromatic
#898129 #B8AD37 #CFC55D #DDD68C #EBE7BB

Accessibility & contrast

On white

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

On black

11.80
#CFC55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC55D
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC55D#FFFFFF#000000##000000
##CFC55D1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc55d;
/* rgb */ color: rgb(207, 197, 93);
/* oklch */ color: oklch(81.1% 0.126 103.8);
Tailwind
colors: {
  custom: {
    50: '#e0d68e',
    500: '#cfc55d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc55d;
$custom-light: #e0d68e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc55d",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 93
  },
  "hsl": {
    "h": 54.737,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81087,
    "c": 0.12622,
    "h": 103.8
  },
  "luminance": 0.53988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC55D

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

Preview Lab → · Contrast checker → · Palette generator →

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