#C5CB52#C5CB52

#C5CB52 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.4% C 0.143 H 111.8°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#C5CB52
RGBrgb(197, 203, 82)
HSLhsl(63, 54%, 56%)
HSVhsv(63, 60%, 80%)
CMYKcmyk(3%, 0%, 59.6%, 20.4%)
CIE-LABlab(79.15, -17.84, 58.04)
CIE-LCHlch(79.15, 60.72, 107.09°)
OKLaboklab(81.41% -0.0534 0.1332)
OKLCHoklch(81.41% 0.143 111.8)
XYZxyz(45.9061, 55.1924, 16.2160)
Luminance0.5519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB52 #5852CB
analogous
#CB9452 #C5CB52 #88CB52
triadic
#C5CB52 #52C5CB #CB52C5
tetradic
#C5CB52 #52CB94 #5852CB #CB5288
square
#C5CB52 #52CB94 #5852CB #CB5288
split-complementary
#C5CB52 #5288CB #9452CB
monochromatic
#797D26 #A6AC34 #C5CB52 #D5D981 #E5E7B0

Accessibility & contrast

On white

1.74
#C5CB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#C5CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB52
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB52#FFFFFF#000000##000000
##C5CB521.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#D1C0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cb52;
/* rgb */ color: rgb(197, 203, 82);
/* oklch */ color: oklch(81.4% 0.143 111.8);
Tailwind
colors: {
  custom: {
    50: '#d9da87',
    500: '#c5cb52',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb52;
$custom-light: #d9da87;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb52",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 62.975,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81411,
    "c": 0.14348,
    "h": 111.8
  },
  "luminance": 0.55191
}

Semantic roles & 50–950 ramp

primary
#C5CB52
secondary
#403C85
accent
#4BDD52
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C5CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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