#CBC54C#CBC54C

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

Color values

HEX#CBC54C
RGBrgb(203, 197, 76)
HSLhsl(57, 55%, 55%)
HSVhsv(57, 63%, 80%)
CMYKcmyk(0%, 3%, 62.6%, 20.4%)
CIE-LABlab(77.96, -12.74, 59.46)
CIE-LCHlch(77.96, 60.81, 102.09°)
OKLaboklab(80.57% -0.0399 0.1352)
OKLCHoklch(80.57% 0.141 106.5)
XYZxyz(45.9009, 53.1523, 14.6776)
Luminance0.5315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC54C #4C52CB
analogous
#CB854C #CBC54C #92CB4C
triadic
#CBC54C #4CCBC5 #C54CCB
tetradic
#CBC54C #4CCB85 #4C52CB #CB4C92
square
#CBC54C #4CCB85 #4C52CB #CB4C92
split-complementary
#CBC54C #4C92CB #854CCB
monochromatic
#797523 #A9A331 #CBC54C #D9D47B #E7E4AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC54C#FFFFFF#000000##000000
##CBC54C1.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)
#D5BE3D
Deuteranopia (green-blind)
#D8C353
Tritanopia (blue-blind)
#D9B9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc54c;
/* rgb */ color: rgb(203, 197, 76);
/* oklch */ color: oklch(80.6% 0.141 106.5);
Tailwind
colors: {
  custom: {
    50: '#ded683',
    500: '#cbc54c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc54c;
$custom-light: #ded683;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc54c",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 76
  },
  "hsl": {
    "h": 57.165,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80565,
    "c": 0.141,
    "h": 106.5
  },
  "luminance": 0.53151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC54C

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

Preview Lab → · Contrast checker → · Palette generator →

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