#CBCC3A#CBCC3A

#CBCC3A is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.9% C 0.160 H 109.9°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CBCC3A
RGBrgb(203, 204, 58)
HSLhsl(60, 59%, 51%)
HSVhsv(60, 72%, 80%)
CMYKcmyk(0.5%, 0%, 71.6%, 20%)
CIE-LABlab(79.72, -17.24, 68.17)
CIE-LCHlch(79.72, 70.31, 104.19°)
OKLaboklab(81.93% -0.0544 0.1507)
OKLCHoklch(81.93% 0.16 109.9)
XYZxyz(46.9868, 56.1891, 12.3726)
Luminance0.5619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC3A #3B3ACC
analogous
#CC843A #CBCC3A #82CC3A
triadic
#CBCC3A #3ACBCC #CC3ACB
tetradic
#CBCC3A #3ACC84 #3B3ACC #CC3A82
square
#CBCC3A #3ACC84 #3B3ACC #CC3A82
split-complementary
#CBCC3A #3A82CC #843ACC
monochromatic
#6E6F1D #9FA029 #CBCC3A #D8D96B #E5E59B

Accessibility & contrast

On white

1.72
#CBCC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CBCC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC3A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC3A#FFFFFF#000000##000000
##CBCC3A1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31E
Deuteranopia (green-blind)
#DEC845
Tritanopia (blue-blind)
#D9BFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc3a;
/* rgb */ color: rgb(203, 204, 58);
/* oklch */ color: oklch(81.9% 0.160 109.9);
Tailwind
colors: {
  custom: {
    50: '#dedb7a',
    500: '#cbcc3a',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc3a;
$custom-light: #dedb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc3a",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 60.411,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81926,
    "c": 0.16021,
    "h": 109.9
  },
  "luminance": 0.56188
}

Semantic roles & 50–950 ramp

primary
#CBCC3A
secondary
#333278
accent
#46E247
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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