#C5CB42#C5CB42

#C5CB42 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.3% C 0.155 H 111.8°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#C5CB42
RGBrgb(197, 203, 66)
HSLhsl(63, 57%, 53%)
HSVhsv(63, 67%, 80%)
CMYKcmyk(3%, 0%, 67.5%, 20.4%)
CIE-LABlab(79.03, -18.85, 64.42)
CIE-LCHlch(79.03, 67.12, 106.31°)
OKLaboklab(81.27% -0.0578 0.1443)
OKLCHoklch(81.27% 0.155 111.8)
XYZxyz(45.3666, 54.9766, 13.3749)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB42 #4842CB
analogous
#CB8D42 #C5CB42 #80CB42
triadic
#C5CB42 #42C5CB #CB42C5
tetradic
#C5CB42 #42CB8D #4842CB #CB4280
square
#C5CB42 #42CB8D #4842CB #CB4280
split-complementary
#C5CB42 #4280CB #8D42CB
monochromatic
#6F7320 #9EA32D #C5CB42 #D4D872 #E2E5A2

Accessibility & contrast

On white

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

On black

12.00
#C5CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB42
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB42#FFFFFF#000000##000000
##C5CB421.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#DBC54C
Tritanopia (blue-blind)
#D2BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cb42;
/* rgb */ color: rgb(197, 203, 66);
/* oklch */ color: oklch(81.3% 0.155 111.8);
Tailwind
colors: {
  custom: {
    50: '#dada7e',
    500: '#c5cb42',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb42;
$custom-light: #dada7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb42",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 62.628,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81272,
    "c": 0.15547,
    "h": 111.8
  },
  "luminance": 0.54976
}

Semantic roles & 50–950 ramp

primary
#C5CB42
secondary
#38357C
accent
#48E04E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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