#CFC55C#CFC55C

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

Color values

HEX#CFC55C
RGBrgb(207, 197, 92)
HSLhsl(55, 55%, 59%)
HSVhsv(55, 56%, 81%)
CMYKcmyk(0%, 4.8%, 55.6%, 18.8%)
CIE-LABlab(78.45, -9.94, 53.01)
CIE-LCHlch(78.45, 53.93, 100.62°)
OKLaboklab(81.08% -0.0304 0.1234)
OKLCHoklch(81.08% 0.127 103.9)
XYZxyz(47.6317, 53.9722, 18.0318)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC55C #5C66CF
analogous
#CF8B5C #CFC55C #9FCF5C
triadic
#CFC55C #5CCFC5 #C55CCF
tetradic
#CFC55C #5CCF8B #5C66CF #CF5C9F
square
#CFC55C #5CCF8B #5C66CF #CF5C9F
split-complementary
#CFC55C #5C9FCF #8B5CCF
monochromatic
#888028 #B8AC36 #CFC55C #DDD68B #EBE7BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC55C#FFFFFF#000000##000000
##CFC55C1.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)
#D4BF51
Deuteranopia (green-blind)
#D8C561
Tritanopia (blue-blind)
#DDB9AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc55c;
/* rgb */ color: rgb(207, 197, 92);
/* oklch */ color: oklch(81.1% 0.127 103.9);
Tailwind
colors: {
  custom: {
    50: '#e0d68d',
    500: '#cfc55c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc55c;
$custom-light: #e0d68d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc55c",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 92
  },
  "hsl": {
    "h": 54.783,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81075,
    "c": 0.12713,
    "h": 103.9
  },
  "luminance": 0.53971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC55C

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

Preview Lab → · Contrast checker → · Palette generator →

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