#C3CA2F#C3CA2F

#C3CA2F is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.8% C 0.166 H 112.3°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#C3CA2F
RGBrgb(195, 202, 47)
HSLhsl(63, 62%, 49%)
HSVhsv(63, 77%, 79%)
CMYKcmyk(3.5%, 0%, 76.7%, 20.8%)
CIE-LABlab(78.49, -20.09, 70.35)
CIE-LCHlch(78.49, 73.16, 105.94°)
OKLaboklab(80.77% -0.0629 0.1536)
OKLCHoklch(80.77% 0.166 112.3)
XYZxyz(44.1408, 54.0495, 10.7961)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CA2F #362FCA
analogous
#CA842F #C3CA2F #76CA2F
triadic
#C3CA2F #2FC3CA #CA2FC3
tetradic
#C3CA2F #2FCA84 #362FCA #CA2F76
square
#C3CA2F #2FCA84 #362FCA #CA2F76
split-complementary
#C3CA2F #2F76CA #842FCA
monochromatic
#636718 #939823 #C3CA2F #D4D95D #E1E58F

Accessibility & contrast

On white

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

On black

11.81
#C3CA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CA2F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CA2F#FFFFFF#000000##000000
##C3CA2F1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3ca2f;
/* rgb */ color: rgb(195, 202, 47);
/* oklch */ color: oklch(80.8% 0.166 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9d975',
    500: '#c3ca2f',
    950: '#000000',
  },
}
SCSS
$custom: #c3ca2f;
$custom-light: #d9d975;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ca2f",
  "rgb": {
    "r": 195,
    "g": 202,
    "b": 47
  },
  "hsl": {
    "h": 62.71,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80769,
    "c": 0.16601,
    "h": 112.3
  },
  "luminance": 0.54048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C3CA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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