#C5CB3B#C5CB3B

#C5CB3B is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.2% C 0.160 H 111.8°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#C5CB3B
RGBrgb(197, 203, 59)
HSLhsl(63, 58%, 51%)
HSVhsv(63, 71%, 80%)
CMYKcmyk(3%, 0%, 70.9%, 20.4%)
CIE-LABlab(78.98, -19.21, 66.94)
CIE-LCHlch(78.98, 69.64, 106.01°)
OKLaboklab(81.22% -0.0595 0.1485)
OKLCHoklch(81.22% 0.16 111.8)
XYZxyz(45.1728, 54.8991, 12.3538)
Luminance0.5490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB3B #413BCB
analogous
#CB893B #C5CB3B #7DCB3B
triadic
#C5CB3B #3BC5CB #CB3BC5
tetradic
#C5CB3B #3BCB89 #413BCB #CB3B7D
square
#C5CB3B #3BCB89 #413BCB #CB3B7D
split-complementary
#C5CB3B #3B7DCB #893BCB
monochromatic
#6B6E1D #9A9F2A #C5CB3B #D3D86B #E2E59C

Accessibility & contrast

On white

1.75
#C5CB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#C5CB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB3B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB3B#FFFFFF#000000##000000
##C5CB3B1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC221
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#D2BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cb3b;
/* rgb */ color: rgb(197, 203, 59);
/* oklch */ color: oklch(81.2% 0.160 111.8);
Tailwind
colors: {
  custom: {
    50: '#dada7b',
    500: '#c5cb3b',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb3b;
$custom-light: #dada7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb3b",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 59
  },
  "hsl": {
    "h": 62.5,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81222,
    "c": 0.15995,
    "h": 111.8
  },
  "luminance": 0.54898
}

Semantic roles & 50–950 ramp

primary
#C5CB3B
secondary
#353378
accent
#47E14D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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