#C3C842#C3C842

#C3C842 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.5% C 0.153 H 111.5°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#C3C842
RGBrgb(195, 200, 66)
HSLhsl(62, 55%, 52%)
HSVhsv(62, 67%, 78%)
CMYKcmyk(2.5%, 0%, 67%, 21.6%)
CIE-LABlab(78.05, -18.20, 63.39)
CIE-LCHlch(78.05, 65.95, 106.02°)
OKLaboklab(80.46% -0.0559 0.1422)
OKLCHoklch(80.46% 0.153 111.5)
XYZxyz(44.1447, 53.3051, 13.1167)
Luminance0.5330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C842 #4742C8
analogous
#C88A42 #C3C842 #80C842
triadic
#C3C842 #42C3C8 #C842C3
tetradic
#C3C842 #42C88A #4742C8 #C84280
square
#C3C842 #42C88A #4742C8 #C84280
split-complementary
#C3C842 #4280C8 #8A42C8
monochromatic
#6C6F20 #9A9F2E #C3C842 #D2D671 #E1E4A1

Accessibility & contrast

On white

1.80
#C3C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#C3C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C842
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C842#FFFFFF#000000##000000
##C3C8421.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#D0BCAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c3c842;
/* rgb */ color: rgb(195, 200, 66);
/* oklch */ color: oklch(80.5% 0.153 111.5);
Tailwind
colors: {
  custom: {
    50: '#d8d87e',
    500: '#c3c842',
    950: '#000000',
  },
}
SCSS
$custom: #c3c842;
$custom-light: #d8d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c842",
  "rgb": {
    "r": 195,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 62.239,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80456,
    "c": 0.15278,
    "h": 111.5
  },
  "luminance": 0.53304
}

Semantic roles & 50–950 ramp

primary
#C3C842
secondary
#383679
accent
#4ADE4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3C842

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

Preview Lab → · Contrast checker → · Palette generator →

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