#C5CA3E#C5CA3E

#C5CA3E is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.0% C 0.157 H 111.5°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#C5CA3E
RGBrgb(197, 202, 62)
HSLhsl(62, 57%, 52%)
HSVhsv(62, 69%, 79%)
CMYKcmyk(2.5%, 0%, 69.3%, 20.8%)
CIE-LABlab(78.73, -18.57, 65.62)
CIE-LCHlch(78.73, 68.19, 105.80°)
OKLaboklab(81.03% -0.0574 0.1462)
OKLCHoklch(81.03% 0.157 111.5)
XYZxyz(45.0174, 54.4603, 12.6970)
Luminance0.5446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA3E #433ECA
analogous
#CA893E #C5CA3E #7FCA3E
triadic
#C5CA3E #3EC5CA #CA3EC5
tetradic
#C5CA3E #3ECA89 #433ECA #CA3E7F
square
#C5CA3E #3ECA89 #433ECA #CA3E7F
split-complementary
#C5CA3E #3E7FCA #893ECA
monochromatic
#6C6F1F #9B9F2C #C5CA3E #D3D76E #E2E49E

Accessibility & contrast

On white

1.77
#C5CA3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#C5CA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA3E
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA3E#FFFFFF#000000##000000
##C5CA3E1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C127
Deuteranopia (green-blind)
#DAC548
Tritanopia (blue-blind)
#D2BEAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5ca3e;
/* rgb */ color: rgb(197, 202, 62);
/* oklch */ color: oklch(81.0% 0.157 111.5);
Tailwind
colors: {
  custom: {
    50: '#dad97c',
    500: '#c5ca3e',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca3e;
$custom-light: #dad97c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca3e",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 62
  },
  "hsl": {
    "h": 62.143,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81025,
    "c": 0.15705,
    "h": 111.5
  },
  "luminance": 0.54459
}

Semantic roles & 50–950 ramp

primary
#C5CA3E
secondary
#363478
accent
#48E04D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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