#CFC55A#CFC55A

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

Color values

HEX#CFC55A
RGBrgb(207, 197, 90)
HSLhsl(55, 55%, 58%)
HSVhsv(55, 57%, 81%)
CMYKcmyk(0%, 4.8%, 56.5%, 18.8%)
CIE-LABlab(78.43, -10.09, 53.90)
CIE-LCHlch(78.43, 54.84, 100.61°)
OKLaboklab(81.05% -0.0311 0.1251)
OKLCHoklch(81.05% 0.129 104)
XYZxyz(47.5454, 53.9377, 17.5774)
Luminance0.5394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC55A #5A64CF
analogous
#CF8A5A #CFC55A #9ECF5A
triadic
#CFC55A #5ACFC5 #C55ACF
tetradic
#CFC55A #5ACF8A #5A64CF #CF5A9E
square
#CFC55A #5ACF8A #5A64CF #CF5A9E
split-complementary
#CFC55A #5A9ECF #8A5ACF
monochromatic
#877F27 #B7AC35 #CFC55A #DDD689 #EBE6B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC55A#FFFFFF#000000##000000
##CFC55A1.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)
#D4BF4F
Deuteranopia (green-blind)
#D8C45F
Tritanopia (blue-blind)
#DDB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc55a;
/* rgb */ color: rgb(207, 197, 90);
/* oklch */ color: oklch(81.1% 0.129 104.0);
Tailwind
colors: {
  custom: {
    50: '#e0d68c',
    500: '#cfc55a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc55a;
$custom-light: #e0d68c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc55a",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 90
  },
  "hsl": {
    "h": 54.872,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81053,
    "c": 0.12894,
    "h": 104
  },
  "luminance": 0.53936
}

Semantic roles & 50–950 ramp

primary
#CFC55A
secondary
#3F468E
accent
#56DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC55A

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

Preview Lab → · Contrast checker → · Palette generator →

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