#CFC554#CFC554

#CFC554 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.134 H 104.3°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CFC554
RGBrgb(207, 197, 84)
HSLhsl(55, 56%, 57%)
HSVhsv(55, 59%, 81%)
CMYKcmyk(0%, 4.8%, 59.4%, 18.8%)
CIE-LABlab(78.37, -10.53, 56.54)
CIE-LCHlch(78.37, 57.51, 100.55°)
OKLaboklab(80.99% -0.033 0.13)
OKLCHoklch(80.99% 0.134 104.3)
XYZxyz(47.3002, 53.8397, 16.2863)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC554 #545ECF
analogous
#CF8854 #CFC554 #9CCF54
triadic
#CFC554 #54CFC5 #C554CF
tetradic
#CFC554 #54CF88 #545ECF #CF549C
square
#CFC554 #54CF88 #545ECF #CF549C
split-complementary
#CFC554 #549CCF #8854CF
monochromatic
#847C25 #B3A932 #CFC554 #DCD584 #EAE5B4

Accessibility & contrast

On white

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

On black

11.77
#CFC554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC554
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC554#FFFFFF#000000##000000
##CFC5541.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF48
Deuteranopia (green-blind)
#D8C45A
Tritanopia (blue-blind)
#DDB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc554;
/* rgb */ color: rgb(207, 197, 84);
/* oklch */ color: oklch(81.0% 0.134 104.3);
Tailwind
colors: {
  custom: {
    50: '#e0d688',
    500: '#cfc554',
    950: '#000000',
  },
}
SCSS
$custom: #cfc554;
$custom-light: #e0d688;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc554",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 84
  },
  "hsl": {
    "h": 55.122,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80989,
    "c": 0.13415,
    "h": 104.3
  },
  "luminance": 0.53838
}

Semantic roles & 50–950 ramp

primary
#CFC554
secondary
#3C438B
accent
#55DF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC554

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

Preview Lab → · Contrast checker → · Palette generator →

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