#CBCB3A#CBCB3A

#CBCB3A is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.7% C 0.159 H 109.5°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#CBCB3A
RGBrgb(203, 203, 58)
HSLhsl(60, 58%, 51%)
HSVhsv(60, 71%, 80%)
CMYKcmyk(0%, 0%, 71.4%, 20.4%)
CIE-LABlab(79.45, -16.74, 67.91)
CIE-LCHlch(79.45, 69.94, 103.85°)
OKLaboklab(81.71% -0.053 0.1501)
OKLCHoklch(81.71% 0.159 109.5)
XYZxyz(46.7499, 55.7153, 12.2937)
Luminance0.5571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB3A #3A3ACB
analogous
#CB823A #CBCB3A #82CB3A
triadic
#CBCB3A #3ACBCB #CB3ACB
tetradic
#CBCB3A #3ACB82 #3A3ACB #CB3A82
square
#CBCB3A #3ACB82 #3A3ACB #CB3A82
split-complementary
#CBCB3A #3A82CB #823ACB
monochromatic
#6E6E1D #9E9E2A #CBCB3A #D8D86A #E5E59B

Accessibility & contrast

On white

1.73
#CBCB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#CBCB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB3A
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB3A#FFFFFF#000000##000000
##CBCB3A1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21F
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#D9BEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb3a;
/* rgb */ color: rgb(203, 203, 58);
/* oklch */ color: oklch(81.7% 0.159 109.5);
Tailwind
colors: {
  custom: {
    50: '#deda7a',
    500: '#cbcb3a',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb3a;
$custom-light: #deda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb3a",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 60,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81711,
    "c": 0.15923,
    "h": 109.5
  },
  "luminance": 0.55714
}

Semantic roles & 50–950 ramp

primary
#CBCB3A
secondary
#323277
accent
#46E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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