#CBC84F#CBC84F

#CBC84F is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.2% C 0.142 H 107.8°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CBC84F
RGBrgb(203, 200, 79)
HSLhsl(59, 54%, 55%)
HSVhsv(59, 61%, 80%)
CMYKcmyk(0%, 1.5%, 61.1%, 20.4%)
CIE-LABlab(78.79, -14.06, 59.08)
CIE-LCHlch(78.79, 60.73, 103.39°)
OKLaboklab(81.23% -0.0434 0.1348)
OKLCHoklch(81.23% 0.142 107.8)
XYZxyz(46.6957, 54.5710, 15.4691)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC84F #4F52CB
analogous
#CB8A4F #CBC84F #90CB4F
triadic
#CBC84F #4FCBC8 #C84FCB
tetradic
#CBC84F #4FCB8A #4F52CB #CB4F90
square
#CBC84F #4FCB8A #4F52CB #CB4F90
split-complementary
#CBC84F #4F90CB #8A4FCB
monochromatic
#7B7924 #AAA832 #CBC84F #D9D77E #E7E6AD

Accessibility & contrast

On white

1.76
#CBC84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CBC84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC84F
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC84F#FFFFFF#000000##000000
##CBC84F1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C141
Deuteranopia (green-blind)
#DAC556
Tritanopia (blue-blind)
#D9BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc84f;
/* rgb */ color: rgb(203, 200, 79);
/* oklch */ color: oklch(81.2% 0.142 107.8);
Tailwind
colors: {
  custom: {
    50: '#ded885',
    500: '#cbc84f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc84f;
$custom-light: #ded885;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc84f",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 58.548,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81233,
    "c": 0.14163,
    "h": 107.8
  },
  "luminance": 0.5457
}

Semantic roles & 50–950 ramp

primary
#CBC84F
secondary
#3B3D83
accent
#4EDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC84F

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

Preview Lab → · Contrast checker → · Palette generator →

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