#C2CA3F#C2CA3F

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

Color values

HEX#C2CA3F
RGBrgb(194, 202, 63)
HSLhsl(63, 57%, 52%)
HSVhsv(63, 69%, 79%)
CMYKcmyk(4%, 0%, 68.8%, 20.8%)
CIE-LABlab(78.50, -19.77, 64.94)
CIE-LCHlch(78.50, 67.89, 106.93°)
OKLaboklab(80.79% -0.0605 0.145)
OKLCHoklch(80.79% 0.157 112.7)
XYZxyz(44.2672, 54.0703, 12.8064)
Luminance0.5407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA3F #473FCA
analogous
#CA8D3F #C2CA3F #7DCA3F
triadic
#C2CA3F #3FC2CA #CA3FC2
tetradic
#C2CA3F #3FCA8D #473FCA #CA3F7D
square
#C2CA3F #3FCA8D #473FCA #CA3F7D
split-complementary
#C2CA3F #3F7DCA #8D3FCA
monochromatic
#6B701F #99A02C #C2CA3F #D1D76F #E0E49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CA3F#FFFFFF#000000##000000
##C2CA3F1.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)
#D9C129
Deuteranopia (green-blind)
#D9C449
Tritanopia (blue-blind)
#CFBEAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c2ca3f;
/* rgb */ color: rgb(194, 202, 63);
/* oklch */ color: oklch(80.8% 0.157 112.7);
Tailwind
colors: {
  custom: {
    50: '#d8d97c',
    500: '#c2ca3f',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca3f;
$custom-light: #d8d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca3f",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 63
  },
  "hsl": {
    "h": 63.453,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80788,
    "c": 0.15714,
    "h": 112.7
  },
  "luminance": 0.54069
}

Semantic roles & 50–950 ramp

primary
#C2CA3F
secondary
#383479
accent
#48E051
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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