#CBC64F#CBC64F

#CBC64F 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#CBC64F
RGBrgb(203, 198, 79)
HSLhsl(58, 54%, 55%)
HSVhsv(58, 61%, 80%)
CMYKcmyk(0%, 2.5%, 61.1%, 20.4%)
CIE-LABlab(78.26, -13.05, 58.50)
CIE-LCHlch(78.26, 59.94, 102.58°)
OKLaboklab(80.81% -0.0405 0.1336)
OKLCHoklch(80.81% 0.14 106.9)
XYZxyz(46.2355, 53.6506, 15.3157)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC64F #4F54CB
analogous
#CB884F #CBC64F #92CB4F
triadic
#CBC64F #4FCBC6 #C64FCB
tetradic
#CBC64F #4FCB88 #4F54CB #CB4F92
square
#CBC64F #4FCB88 #4F54CB #CB4F92
split-complementary
#CBC64F #4F92CB #884FCB
monochromatic
#7B7824 #AAA632 #CBC64F #D9D57E #E7E5AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC64F#FFFFFF#000000##000000
##CBC64F1.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)
#D6BF41
Deuteranopia (green-blind)
#D8C456
Tritanopia (blue-blind)
#D9BAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc64f;
/* rgb */ color: rgb(203, 198, 79);
/* oklch */ color: oklch(80.8% 0.140 106.9);
Tailwind
colors: {
  custom: {
    50: '#ded785',
    500: '#cbc64f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc64f;
$custom-light: #ded785;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc64f",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 57.581,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80806,
    "c": 0.13961,
    "h": 106.9
  },
  "luminance": 0.53649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC64F

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

Preview Lab → · Contrast checker → · Palette generator →

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