#C5CB39#C5CB39

#C5CB39 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#C5CB39
RGBrgb(197, 203, 57)
HSLhsl(62, 58%, 51%)
HSVhsv(62, 72%, 80%)
CMYKcmyk(3%, 0%, 71.9%, 20.4%)
CIE-LABlab(78.97, -19.31, 67.63)
CIE-LCHlch(78.97, 70.33, 105.94°)
OKLaboklab(81.21% -0.06 0.1496)
OKLCHoklch(81.21% 0.161 111.9)
XYZxyz(45.1219, 54.8787, 12.0858)
Luminance0.5488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB39 #3F39CB
analogous
#CB8839 #C5CB39 #7CCB39
triadic
#C5CB39 #39C5CB #CB39C5
tetradic
#C5CB39 #39CB88 #3F39CB #CB397C
square
#C5CB39 #39CB88 #3F39CB #CB397C
split-complementary
#C5CB39 #397CCB #8839CB
monochromatic
#6A6D1D #999D29 #C5CB39 #D3D869 #E1E49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CB39#FFFFFF#000000##000000
##C5CB391.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)
#DBC21D
Deuteranopia (green-blind)
#DBC545
Tritanopia (blue-blind)
#D2BFAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5cb39;
/* rgb */ color: rgb(197, 203, 57);
/* oklch */ color: oklch(81.2% 0.161 111.9);
Tailwind
colors: {
  custom: {
    50: '#dada7a',
    500: '#c5cb39',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb39;
$custom-light: #dada7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb39",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 62.466,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81209,
    "c": 0.16114,
    "h": 111.9
  },
  "luminance": 0.54878
}

Semantic roles & 50–950 ramp

primary
#C5CB39
secondary
#353276
accent
#46E24D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CB39

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

Preview Lab → · Contrast checker → · Palette generator →

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