#C5CB37#C5CB37

#C5CB37 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.2% C 0.162 H 111.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C5CB37
RGBrgb(197, 203, 55)
HSLhsl(62, 59%, 51%)
HSVhsv(62, 73%, 80%)
CMYKcmyk(3%, 0%, 72.9%, 20.4%)
CIE-LABlab(78.96, -19.40, 68.29)
CIE-LCHlch(78.96, 71.00, 105.86°)
OKLaboklab(81.2% -0.0604 0.1506)
OKLCHoklch(81.2% 0.162 111.9)
XYZxyz(45.0730, 54.8591, 11.8282)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB37 #3D37CB
analogous
#CB8737 #C5CB37 #7BCB37
triadic
#C5CB37 #37C5CB #CB37C5
tetradic
#C5CB37 #37CB87 #3D37CB #CB377B
square
#C5CB37 #37CB87 #3D37CB #CB377B
split-complementary
#C5CB37 #377BCB #8737CB
monochromatic
#686C1C #989C29 #C5CB37 #D3D868 #E1E498

Accessibility & contrast

On white

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

On black

11.97
#C5CB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB37
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB37#FFFFFF#000000##000000
##C5CB371.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC218
Deuteranopia (green-blind)
#DBC543
Tritanopia (blue-blind)
#D3BEAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5cb37;
/* rgb */ color: rgb(197, 203, 55);
/* oklch */ color: oklch(81.2% 0.162 111.9);
Tailwind
colors: {
  custom: {
    50: '#dada79',
    500: '#c5cb37',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb37;
$custom-light: #dada79;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb37",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 55
  },
  "hsl": {
    "h": 62.432,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.81196,
    "c": 0.1623,
    "h": 111.9
  },
  "luminance": 0.54858
}

Semantic roles & 50–950 ramp

primary
#C5CB37
secondary
#343175
accent
#46E24C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CB37

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

Preview Lab → · Contrast checker → · Palette generator →

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