#CBC54A#CBC54A

#CBC54A is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.5% C 0.143 H 106.5°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CBC54A
RGBrgb(203, 197, 74)
HSLhsl(57, 55%, 54%)
HSVhsv(57, 64%, 80%)
CMYKcmyk(0%, 3%, 63.5%, 20.4%)
CIE-LABlab(77.95, -12.86, 60.28)
CIE-LCHlch(77.95, 61.64, 102.05°)
OKLaboklab(80.55% -0.0405 0.1367)
OKLCHoklch(80.55% 0.143 106.5)
XYZxyz(45.8325, 53.1249, 14.3171)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC54A #4A50CB
analogous
#CB854A #CBC54A #91CB4A
triadic
#CBC54A #4ACBC5 #C54ACB
tetradic
#CBC54A #4ACB85 #4A50CB #CB4A91
square
#CBC54A #4ACB85 #4A50CB #CB4A91
split-complementary
#CBC54A #4A91CB #854ACB
monochromatic
#787423 #A8A230 #CBC54A #D9D47A #E6E3A9

Accessibility & contrast

On white

1.81
#CBC54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CBC54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC54A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC54A#FFFFFF#000000##000000
##CBC54A1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3A
Deuteranopia (green-blind)
#D8C351
Tritanopia (blue-blind)
#D9B9AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc54a;
/* rgb */ color: rgb(203, 197, 74);
/* oklch */ color: oklch(80.5% 0.143 106.5);
Tailwind
colors: {
  custom: {
    50: '#ded682',
    500: '#cbc54a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc54a;
$custom-light: #ded682;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc54a",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 57.209,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80547,
    "c": 0.14253,
    "h": 106.5
  },
  "luminance": 0.53123
}

Semantic roles & 50–950 ramp

primary
#CBC54A
secondary
#393C80
accent
#50DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC54A

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

Preview Lab → · Contrast checker → · Palette generator →

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