#CBC64D#CBC64D

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

Color values

HEX#CBC64D
RGBrgb(203, 198, 77)
HSLhsl(58, 55%, 55%)
HSVhsv(58, 62%, 80%)
CMYKcmyk(0%, 2.5%, 62.1%, 20.4%)
CIE-LABlab(78.24, -13.18, 59.33)
CIE-LCHlch(78.24, 60.78, 102.53°)
OKLaboklab(80.79% -0.0411 0.1351)
OKLCHoklch(80.79% 0.141 106.9)
XYZxyz(46.1638, 53.6220, 14.9381)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC64D #4D52CB
analogous
#CB874D #CBC64D #91CB4D
triadic
#CBC64D #4DCBC6 #C64DCB
tetradic
#CBC64D #4DCB87 #4D52CB #CB4D91
square
#CBC64D #4DCB87 #4D52CB #CB4D91
split-complementary
#CBC64D #4D91CB #874DCB
monochromatic
#7A7724 #A9A531 #CBC64D #D9D57C #E7E4AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC64D#FFFFFF#000000##000000
##CBC64D1.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)
#D6BF3E
Deuteranopia (green-blind)
#D8C454
Tritanopia (blue-blind)
#D9BAAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc64d;
/* rgb */ color: rgb(203, 198, 77);
/* oklch */ color: oklch(80.8% 0.141 106.9);
Tailwind
colors: {
  custom: {
    50: '#ded784',
    500: '#cbc64d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc64d;
$custom-light: #ded784;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc64d",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 77
  },
  "hsl": {
    "h": 57.619,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80788,
    "c": 0.1412,
    "h": 106.9
  },
  "luminance": 0.5362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC64D

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

Preview Lab → · Contrast checker → · Palette generator →

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