#CBC64B#CBC64B

#CBC64B is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.143 H 107.0°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#CBC64B
RGBrgb(203, 198, 75)
HSLhsl(58, 55%, 55%)
HSVhsv(58, 63%, 80%)
CMYKcmyk(0%, 2.5%, 63.1%, 20.4%)
CIE-LABlab(78.22, -13.31, 60.15)
CIE-LCHlch(78.22, 61.61, 102.48°)
OKLaboklab(80.77% -0.0417 0.1365)
OKLCHoklch(80.77% 0.143 107)
XYZxyz(46.0943, 53.5942, 14.5719)
Luminance0.5359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC64B #4B50CB
analogous
#CB864B #CBC64B #90CB4B
triadic
#CBC64B #4BCBC6 #C64BCB
tetradic
#CBC64B #4BCB86 #4B50CB #CB4B90
square
#CBC64B #4BCB86 #4B50CB #CB4B90
split-complementary
#CBC64B #4B90CB #864BCB
monochromatic
#797523 #A8A431 #CBC64B #D9D57A #E6E4AA

Accessibility & contrast

On white

1.79
#CBC64B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#CBC64B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC64B
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC64B#FFFFFF#000000##000000
##CBC64B1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3C
Deuteranopia (green-blind)
#D8C452
Tritanopia (blue-blind)
#D9BAAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc64b;
/* rgb */ color: rgb(203, 198, 75);
/* oklch */ color: oklch(80.8% 0.143 107.0);
Tailwind
colors: {
  custom: {
    50: '#ded783',
    500: '#cbc64b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc64b;
$custom-light: #ded783;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc64b",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 75
  },
  "hsl": {
    "h": 57.656,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80769,
    "c": 0.14276,
    "h": 107
  },
  "luminance": 0.53593
}

Semantic roles & 50–950 ramp

primary
#CBC64B
secondary
#393C81
accent
#4FDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC64B

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

Preview Lab → · Contrast checker → · Palette generator →

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