#C5CA2F#C5CA2F

#C5CA2F is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.9% C 0.166 H 111.5°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#C5CA2F
RGBrgb(197, 202, 47)
HSLhsl(62, 62%, 49%)
HSVhsv(62, 77%, 79%)
CMYKcmyk(2.5%, 0%, 76.7%, 20.8%)
CIE-LABlab(78.65, -19.24, 70.55)
CIE-LCHlch(78.65, 73.12, 105.26°)
OKLaboklab(80.93% -0.0606 0.154)
OKLCHoklch(80.93% 0.166 111.5)
XYZxyz(44.6611, 54.3178, 10.8205)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA2F #342FCA
analogous
#CA812F #C5CA2F #78CA2F
triadic
#C5CA2F #2FC5CA #CA2FC5
tetradic
#C5CA2F #2FCA81 #342FCA #CA2F78
square
#C5CA2F #2FCA81 #342FCA #CA2F78
split-complementary
#C5CA2F #2F78CA #812FCA
monochromatic
#646718 #959823 #C5CA2F #D5D95D #E2E58F

Accessibility & contrast

On white

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

On black

11.86
#C5CA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA2F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA2F#FFFFFF#000000##000000
##C5CA2F1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#DBC43D
Tritanopia (blue-blind)
#D3BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5ca2f;
/* rgb */ color: rgb(197, 202, 47);
/* oklch */ color: oklch(80.9% 0.166 111.5);
Tailwind
colors: {
  custom: {
    50: '#dbd975',
    500: '#c5ca2f',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca2f;
$custom-light: #dbd975;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca2f",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 47
  },
  "hsl": {
    "h": 61.935,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80933,
    "c": 0.1655,
    "h": 111.5
  },
  "luminance": 0.54317
}

Semantic roles & 50–950 ramp

primary
#C5CA2F
secondary
#2F2C71
accent
#42E548
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5CA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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