#C5CB45#C5CB45

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

Color values

HEX#C5CB45
RGBrgb(197, 203, 69)
HSLhsl(63, 56%, 53%)
HSVhsv(63, 66%, 80%)
CMYKcmyk(3%, 0%, 66%, 20.4%)
CIE-LABlab(79.05, -18.68, 63.29)
CIE-LCHlch(79.05, 65.99, 106.44°)
OKLaboklab(81.3% -0.0571 0.1424)
OKLCHoklch(81.3% 0.153 111.8)
XYZxyz(45.4574, 55.0129, 13.8530)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB45 #4B45CB
analogous
#CB8E45 #C5CB45 #82CB45
triadic
#C5CB45 #45C5CB #CB45C5
tetradic
#C5CB45 #45CB8E #4B45CB #CB4582
square
#C5CB45 #45CB8E #4B45CB #CB4582
split-complementary
#C5CB45 #4582CB #8E45CB
monochromatic
#717521 #9FA52E #C5CB45 #D4D875 #E3E6A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CB45#FFFFFF#000000##000000
##C5CB451.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)
#DAC232
Deuteranopia (green-blind)
#DBC54E
Tritanopia (blue-blind)
#D2BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cb45;
/* rgb */ color: rgb(197, 203, 69);
/* oklch */ color: oklch(81.3% 0.153 111.8);
Tailwind
colors: {
  custom: {
    50: '#dada80',
    500: '#c5cb45',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb45;
$custom-light: #dada80;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb45",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 62.687,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81296,
    "c": 0.1534,
    "h": 111.8
  },
  "luminance": 0.55012
}

Semantic roles & 50–950 ramp

primary
#C5CB45
secondary
#3A377E
accent
#48E04F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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