#CBC54B#CBC54B

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

Color values

HEX#CBC54B
RGBrgb(203, 197, 75)
HSLhsl(57, 55%, 55%)
HSVhsv(57, 63%, 80%)
CMYKcmyk(0%, 3%, 63.1%, 20.4%)
CIE-LABlab(77.96, -12.80, 59.87)
CIE-LCHlch(77.96, 61.22, 102.07°)
OKLaboklab(80.56% -0.0402 0.1359)
OKLCHoklch(80.56% 0.142 106.5)
XYZxyz(45.8664, 53.1385, 14.4959)
Luminance0.5314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC54B #4B51CB
analogous
#CB854B #CBC54B #91CB4B
triadic
#CBC54B #4BCBC5 #C54BCB
tetradic
#CBC54B #4BCB85 #4B51CB #CB4B91
square
#CBC54B #4BCB85 #4B51CB #CB4B91
split-complementary
#CBC54B #4B91CB #854BCB
monochromatic
#797523 #A8A331 #CBC54B #D9D47A #E6E4AA

Accessibility & contrast

On white

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

On black

11.63
#CBC54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC54B
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC54B#FFFFFF#000000##000000
##CBC54B1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3C
Deuteranopia (green-blind)
#D8C352
Tritanopia (blue-blind)
#D9B9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc54b;
/* rgb */ color: rgb(203, 197, 75);
/* oklch */ color: oklch(80.6% 0.142 106.5);
Tailwind
colors: {
  custom: {
    50: '#ded683',
    500: '#cbc54b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc54b;
$custom-light: #ded683;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc54b",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 75
  },
  "hsl": {
    "h": 57.188,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80556,
    "c": 0.14177,
    "h": 106.5
  },
  "luminance": 0.53137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC54B

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

Preview Lab → · Contrast checker → · Palette generator →

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