#C5CB3A#C5CB3A

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

Color values

HEX#C5CB3A
RGBrgb(197, 203, 58)
HSLhsl(62, 58%, 51%)
HSVhsv(62, 71%, 80%)
CMYKcmyk(3%, 0%, 71.4%, 20.4%)
CIE-LABlab(78.98, -19.26, 67.29)
CIE-LCHlch(78.98, 69.99, 105.98°)
OKLaboklab(81.22% -0.0598 0.149)
OKLCHoklch(81.22% 0.161 111.9)
XYZxyz(45.1471, 54.8888, 12.2185)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB3A #403ACB
analogous
#CB883A #C5CB3A #7CCB3A
triadic
#C5CB3A #3AC5CB #CB3AC5
tetradic
#C5CB3A #3ACB88 #403ACB #CB3A7C
square
#C5CB3A #3ACB88 #403ACB #CB3A7C
split-complementary
#C5CB3A #3A7CCB #883ACB
monochromatic
#6A6E1D #999E2A #C5CB3A #D3D86A #E2E59B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CB3A#FFFFFF#000000##000000
##C5CB3A1.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)
#DBC21F
Deuteranopia (green-blind)
#DBC545
Tritanopia (blue-blind)
#D2BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cb3a;
/* rgb */ color: rgb(197, 203, 58);
/* oklch */ color: oklch(81.2% 0.161 111.9);
Tailwind
colors: {
  custom: {
    50: '#dada7a',
    500: '#c5cb3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb3a;
$custom-light: #dada7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb3a",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 62.483,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81216,
    "c": 0.16056,
    "h": 111.9
  },
  "luminance": 0.54888
}

Semantic roles & 50–950 ramp

primary
#C5CB3A
secondary
#353277
accent
#46E14D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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