#CBCA3A#CBCA3A

#CBCA3A is a light, vivid yellow. Relative luminance 0.552; 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#CBCA3A
RGBrgb(203, 202, 58)
HSLhsl(60, 58%, 51%)
HSVhsv(60, 71%, 80%)
CMYKcmyk(0%, 0.5%, 71.4%, 20.4%)
CIE-LABlab(79.18, -16.25, 67.65)
CIE-LCHlch(79.18, 69.57, 103.50°)
OKLaboklab(81.49% -0.0516 0.1496)
OKLCHoklch(81.49% 0.158 109)
XYZxyz(46.5145, 55.2445, 12.2152)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA3A #3A3BCB
analogous
#CB813A #CBCA3A #83CB3A
triadic
#CBCA3A #3ACBCA #CA3ACB
tetradic
#CBCA3A #3ACB81 #3A3BCB #CB3A83
square
#CBCA3A #3ACB81 #3A3BCB #CB3A83
split-complementary
#CBCA3A #3A83CB #813ACB
monochromatic
#6E6D1D #9E9D2A #CBCA3A #D8D76A #E5E49B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCA3A#FFFFFF#000000##000000
##CBCA3A1.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)
#DAC21F
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#D9BDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbca3a;
/* rgb */ color: rgb(203, 202, 58);
/* oklch */ color: oklch(81.5% 0.158 109.0);
Tailwind
colors: {
  custom: {
    50: '#ded97a',
    500: '#cbca3a',
    950: '#000000',
  },
}
SCSS
$custom: #cbca3a;
$custom-light: #ded97a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca3a",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 58
  },
  "hsl": {
    "h": 59.586,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81495,
    "c": 0.15825,
    "h": 109
  },
  "luminance": 0.55243
}

Semantic roles & 50–950 ramp

primary
#CBCA3A
secondary
#323377
accent
#47E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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