#C5CB47#C5CB47

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

Color values

HEX#C5CB47
RGBrgb(197, 203, 71)
HSLhsl(63, 56%, 54%)
HSVhsv(63, 65%, 80%)
CMYKcmyk(3%, 0%, 65%, 20.4%)
CIE-LABlab(79.06, -18.56, 62.51)
CIE-LCHlch(79.06, 65.21, 106.54°)
OKLaboklab(81.31% -0.0565 0.1411)
OKLCHoklch(81.31% 0.152 111.8)
XYZxyz(45.5206, 55.0382, 14.1855)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB47 #4D47CB
analogous
#CB8F47 #C5CB47 #83CB47
triadic
#C5CB47 #47C5CB #CB47C5
tetradic
#C5CB47 #47CB8F #4D47CB #CB4783
square
#C5CB47 #47CB8F #4D47CB #CB4783
split-complementary
#C5CB47 #4783CB #8F47CB
monochromatic
#727621 #A1A62F #C5CB47 #D4D877 #E3E6A6

Accessibility & contrast

On white

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

On black

12.01
#C5CB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB47
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB47#FFFFFF#000000##000000
##C5CB471.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cb47;
/* rgb */ color: rgb(197, 203, 71);
/* oklch */ color: oklch(81.3% 0.152 111.8);
Tailwind
colors: {
  custom: {
    50: '#dada81',
    500: '#c5cb47',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb47;
$custom-light: #dada81;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb47",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 71
  },
  "hsl": {
    "h": 62.727,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81312,
    "c": 0.15198,
    "h": 111.8
  },
  "luminance": 0.55037
}

Semantic roles & 50–950 ramp

primary
#C5CB47
secondary
#3B377F
accent
#49DF4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5CB47

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

Preview Lab → · Contrast checker → · Palette generator →

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