#C5CB40#C5CB40

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

Color values

HEX#C5CB40
RGBrgb(197, 203, 64)
HSLhsl(63, 57%, 52%)
HSVhsv(63, 68%, 80%)
CMYKcmyk(3%, 0%, 68.5%, 20.4%)
CIE-LABlab(79.01, -18.96, 65.16)
CIE-LCHlch(79.01, 67.86, 106.22°)
OKLaboklab(81.26% -0.0583 0.1455)
OKLCHoklch(81.26% 0.157 111.8)
XYZxyz(45.3087, 54.9534, 13.0698)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB40 #4640CB
analogous
#CB8C40 #C5CB40 #7FCB40
triadic
#C5CB40 #40C5CB #CB40C5
tetradic
#C5CB40 #40CB8C #4640CB #CB407F
square
#C5CB40 #40CB8C #4640CB #CB407F
split-complementary
#C5CB40 #407FCB #8C40CB
monochromatic
#6E721F #9DA22C #C5CB40 #D4D870 #E2E5A0

Accessibility & contrast

On white

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

On black

11.99
#C5CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB40
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB40#FFFFFF#000000##000000
##C5CB401.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cb40;
/* rgb */ color: rgb(197, 203, 64);
/* oklch */ color: oklch(81.3% 0.157 111.8);
Tailwind
colors: {
  custom: {
    50: '#dada7d',
    500: '#c5cb40',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb40;
$custom-light: #dada7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb40",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 62.59,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81257,
    "c": 0.1568,
    "h": 111.8
  },
  "luminance": 0.54952
}

Semantic roles & 50–950 ramp

primary
#C5CB40
secondary
#38357B
accent
#47E04E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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