#CBC64A#CBC64A

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

Color values

HEX#CBC64A
RGBrgb(203, 198, 74)
HSLhsl(58, 55%, 54%)
HSVhsv(58, 64%, 80%)
CMYKcmyk(0%, 2.5%, 63.5%, 20.4%)
CIE-LABlab(78.22, -13.37, 60.56)
CIE-LCHlch(78.22, 62.02, 102.45°)
OKLaboklab(80.76% -0.0419 0.1373)
OKLCHoklch(80.76% 0.144 107)
XYZxyz(46.0603, 53.5806, 14.3930)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC64A #4A4FCB
analogous
#CB854A #CBC64A #90CB4A
triadic
#CBC64A #4ACBC6 #C64ACB
tetradic
#CBC64A #4ACB85 #4A4FCB #CB4A90
square
#CBC64A #4ACB85 #4A4FCB #CB4A90
split-complementary
#CBC64A #4A90CB #854ACB
monochromatic
#787523 #A8A330 #CBC64A #D9D57A #E6E4A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC64A#FFFFFF#000000##000000
##CBC64A1.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)
#D6BF3A
Deuteranopia (green-blind)
#D8C452
Tritanopia (blue-blind)
#D9BAAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc64a;
/* rgb */ color: rgb(203, 198, 74);
/* oklch */ color: oklch(80.8% 0.144 107.0);
Tailwind
colors: {
  custom: {
    50: '#ded782',
    500: '#cbc64a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc64a;
$custom-light: #ded782;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc64a",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 57.674,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8076,
    "c": 0.14352,
    "h": 107
  },
  "luminance": 0.53579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC64A

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

Preview Lab → · Contrast checker → · Palette generator →

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