#C2CA38#C2CA38

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

Color values

HEX#C2CA38
RGBrgb(194, 202, 56)
HSLhsl(63, 58%, 51%)
HSVhsv(63, 72%, 79%)
CMYKcmyk(4%, 0%, 72.3%, 20.8%)
CIE-LABlab(78.46, -20.12, 67.40)
CIE-LCHlch(78.46, 70.34, 106.62°)
OKLaboklab(80.74% -0.0622 0.149)
OKLCHoklch(80.74% 0.161 112.6)
XYZxyz(44.0839, 53.9969, 11.8408)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA38 #4038CA
analogous
#CA8938 #C2CA38 #79CA38
triadic
#C2CA38 #38C2CA #CA38C2
tetradic
#C2CA38 #38CA89 #4038CA #CA3879
square
#C2CA38 #38CA89 #4038CA #CA3879
split-complementary
#C2CA38 #3879CA #8938CA
monochromatic
#676B1D #959B29 #C2CA38 #D1D768 #E0E499

Accessibility & contrast

On white

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

On black

11.80
#C2CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CA38
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CA38#FFFFFF#000000##000000
##C2CA381.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01B
Deuteranopia (green-blind)
#D9C444
Tritanopia (blue-blind)
#CFBEAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c2ca38;
/* rgb */ color: rgb(194, 202, 56);
/* oklch */ color: oklch(80.7% 0.161 112.6);
Tailwind
colors: {
  custom: {
    50: '#d8d979',
    500: '#c2ca38',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca38;
$custom-light: #d8d979;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca38",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 63.288,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.80741,
    "c": 0.16146,
    "h": 112.6
  },
  "luminance": 0.53996
}

Semantic roles & 50–950 ramp

primary
#C2CA38
secondary
#353175
accent
#47E14F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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