#CBCA3B#CBCA3B

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

Color values

HEX#CBCA3B
RGBrgb(203, 202, 59)
HSLhsl(60, 58%, 51%)
HSVhsv(60, 71%, 80%)
CMYKcmyk(0%, 0.5%, 70.9%, 20.4%)
CIE-LABlab(79.19, -16.20, 67.30)
CIE-LCHlch(79.19, 69.22, 103.53°)
OKLaboklab(81.5% -0.0514 0.149)
OKLCHoklch(81.5% 0.158 109)
XYZxyz(46.5402, 55.2548, 12.3505)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA3B #3B3CCB
analogous
#CB823B #CBCA3B #84CB3B
triadic
#CBCA3B #3BCBCA #CA3BCB
tetradic
#CBCA3B #3BCB82 #3B3CCB #CB3B84
square
#CBCA3B #3BCB82 #3B3CCB #CB3B84
split-complementary
#CBCA3B #3B84CB #823BCB
monochromatic
#6E6E1D #9F9E2A #CBCA3B #D8D76B #E5E49C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCA3B#FFFFFF#000000##000000
##CBCA3B1.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)
#DAC221
Deuteranopia (green-blind)
#DCC646
Tritanopia (blue-blind)
#D9BDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbca3b;
/* rgb */ color: rgb(203, 202, 59);
/* oklch */ color: oklch(81.5% 0.158 109.0);
Tailwind
colors: {
  custom: {
    50: '#ded97b',
    500: '#cbca3b',
    950: '#000000',
  },
}
SCSS
$custom: #cbca3b;
$custom-light: #ded97b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca3b",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 59
  },
  "hsl": {
    "h": 59.583,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81502,
    "c": 0.15765,
    "h": 109
  },
  "luminance": 0.55253
}

Semantic roles & 50–950 ramp

primary
#CBCA3B
secondary
#333378
accent
#48E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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