#C2CA2F#C2CA2F

#C2CA2F is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.7% C 0.166 H 112.6°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#C2CA2F
RGBrgb(194, 202, 47)
HSLhsl(63, 62%, 49%)
HSVhsv(63, 77%, 79%)
CMYKcmyk(4%, 0%, 76.7%, 20.8%)
CIE-LABlab(78.41, -20.51, 70.25)
CIE-LCHlch(78.41, 73.18, 106.27°)
OKLaboklab(80.69% -0.064 0.1535)
OKLCHoklch(80.69% 0.166 112.6)
XYZxyz(43.8832, 53.9167, 10.7841)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA2F #372FCA
analogous
#CA852F #C2CA2F #75CA2F
triadic
#C2CA2F #2FC2CA #CA2FC2
tetradic
#C2CA2F #2FCA85 #372FCA #CA2F75
square
#C2CA2F #2FCA85 #372FCA #CA2F75
split-complementary
#C2CA2F #2F75CA #852FCA
monochromatic
#636718 #929823 #C2CA2F #D3D95D #E0E58F

Accessibility & contrast

On white

1.78
#C2CA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#C2CA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CA2F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CA2F#FFFFFF#000000##000000
##C2CA2F1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC000
Deuteranopia (green-blind)
#DAC43D
Tritanopia (blue-blind)
#CFBDAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c2ca2f;
/* rgb */ color: rgb(194, 202, 47);
/* oklch */ color: oklch(80.7% 0.166 112.6);
Tailwind
colors: {
  custom: {
    50: '#d8d975',
    500: '#c2ca2f',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca2f;
$custom-light: #d8d975;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca2f",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 47
  },
  "hsl": {
    "h": 63.097,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80688,
    "c": 0.16628,
    "h": 112.6
  },
  "luminance": 0.53916
}

Semantic roles & 50–950 ramp

primary
#C2CA2F
secondary
#302C71
accent
#42E54B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2CA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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