#CBC54D#CBC54D

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

Color values

HEX#CBC54D
RGBrgb(203, 197, 77)
HSLhsl(57, 55%, 55%)
HSVhsv(57, 62%, 80%)
CMYKcmyk(0%, 3%, 62.1%, 20.4%)
CIE-LABlab(77.97, -12.68, 59.05)
CIE-LCHlch(77.97, 60.39, 102.12°)
OKLaboklab(80.57% -0.0396 0.1345)
OKLCHoklch(80.57% 0.14 106.4)
XYZxyz(45.9360, 53.1663, 14.8621)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC54D #4D53CB
analogous
#CB864D #CBC54D #92CB4D
triadic
#CBC54D #4DCBC5 #C54DCB
tetradic
#CBC54D #4DCB86 #4D53CB #CB4D92
square
#CBC54D #4DCB86 #4D53CB #CB4D92
split-complementary
#CBC54D #4D92CB #864DCB
monochromatic
#7A7624 #A9A431 #CBC54D #D9D47C #E7E4AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC54D#FFFFFF#000000##000000
##CBC54D1.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)
#D5BE3E
Deuteranopia (green-blind)
#D7C354
Tritanopia (blue-blind)
#D9B9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc54d;
/* rgb */ color: rgb(203, 197, 77);
/* oklch */ color: oklch(80.6% 0.140 106.4);
Tailwind
colors: {
  custom: {
    50: '#ded684',
    500: '#cbc54d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc54d;
$custom-light: #ded684;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc54d",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 57.143,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80574,
    "c": 0.14021,
    "h": 106.4
  },
  "luminance": 0.53165
}

Semantic roles & 50–950 ramp

primary
#CBC54D
secondary
#3A3D82
accent
#51DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC54D

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

Preview Lab → · Contrast checker → · Palette generator →

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