#CBCA39#CBCA39

#CBCA39 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.5% C 0.159 H 109.1°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CBCA39
RGBrgb(203, 202, 57)
HSLhsl(60, 58%, 51%)
HSVhsv(60, 72%, 80%)
CMYKcmyk(0%, 0.5%, 71.9%, 20.4%)
CIE-LABlab(79.18, -16.29, 67.99)
CIE-LCHlch(79.18, 69.91, 103.47°)
OKLaboklab(81.49% -0.0519 0.1501)
OKLCHoklch(81.49% 0.159 109.1)
XYZxyz(46.4894, 55.2344, 12.0825)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA39 #393ACB
analogous
#CB8139 #CBCA39 #83CB39
triadic
#CBCA39 #39CBCA #CA39CB
tetradic
#CBCA39 #39CB81 #393ACB #CB3983
square
#CBCA39 #39CB81 #393ACB #CB3983
split-complementary
#CBCA39 #3983CB #8139CB
monochromatic
#6D6C1D #9D9D29 #CBCA39 #D8D769 #E4E49A

Accessibility & contrast

On white

1.74
#CBCA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CBCA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA39
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA39#FFFFFF#000000##000000
##CBCA391.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC21D
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#D9BDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbca39;
/* rgb */ color: rgb(203, 202, 57);
/* oklch */ color: oklch(81.5% 0.159 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfd97a',
    500: '#cbca39',
    950: '#000000',
  },
}
SCSS
$custom: #cbca39;
$custom-light: #dfd97a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca39",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 57
  },
  "hsl": {
    "h": 59.589,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81489,
    "c": 0.15884,
    "h": 109.1
  },
  "luminance": 0.55233
}

Semantic roles & 50–950 ramp

primary
#CBCA39
secondary
#323276
accent
#47E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCA39

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

Preview Lab → · Contrast checker → · Palette generator →

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