#CBC64E#CBC64E

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

Color values

HEX#CBC64E
RGBrgb(203, 198, 78)
HSLhsl(58, 55%, 55%)
HSVhsv(58, 62%, 80%)
CMYKcmyk(0%, 2.5%, 61.6%, 20.4%)
CIE-LABlab(78.25, -13.12, 58.92)
CIE-LCHlch(78.25, 60.36, 102.55°)
OKLaboklab(80.8% -0.0408 0.1344)
OKLCHoklch(80.8% 0.14 106.9)
XYZxyz(46.1994, 53.6362, 15.1255)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC64E #4E53CB
analogous
#CB874E #CBC64E #91CB4E
triadic
#CBC64E #4ECBC6 #C64ECB
tetradic
#CBC64E #4ECB87 #4E53CB #CB4E91
square
#CBC64E #4ECB87 #4E53CB #CB4E91
split-complementary
#CBC64E #4E91CB #874ECB
monochromatic
#7B7724 #AAA532 #CBC64E #D9D57D #E7E4AD

Accessibility & contrast

On white

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

On black

11.73
#CBC64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC64E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC64E#FFFFFF#000000##000000
##CBC64E1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF40
Deuteranopia (green-blind)
#D8C455
Tritanopia (blue-blind)
#D9BAAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc64e;
/* rgb */ color: rgb(203, 198, 78);
/* oklch */ color: oklch(80.8% 0.140 106.9);
Tailwind
colors: {
  custom: {
    50: '#ded785',
    500: '#cbc64e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc64e;
$custom-light: #ded785;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc64e",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 78
  },
  "hsl": {
    "h": 57.6,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80797,
    "c": 0.14041,
    "h": 106.9
  },
  "luminance": 0.53635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC64E

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

Preview Lab → · Contrast checker → · Palette generator →

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