#C3C142#C3C142

#C3C142 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.9% C 0.146 H 108.4°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#C3C142
RGBrgb(195, 193, 66)
HSLhsl(59, 52%, 51%)
HSVhsv(59, 66%, 76%)
CMYKcmyk(0%, 1%, 66.2%, 23.5%)
CIE-LABlab(76.15, -14.69, 61.45)
CIE-LCHlch(76.15, 63.18, 103.44°)
OKLaboklab(78.94% -0.046 0.1381)
OKLCHoklch(78.94% 0.146 108.4)
XYZxyz(42.5605, 50.1367, 12.5886)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C142 #4244C3
analogous
#C38042 #C3C142 #84C342
triadic
#C3C142 #42C3C1 #C142C3
tetradic
#C3C142 #42C380 #4244C3 #C34284
square
#C3C142 #42C380 #4244C3 #C34284
split-complementary
#C3C142 #4284C3 #8042C3
monochromatic
#696821 #989630 #C3C142 #D2D070 #E0DF9F

Accessibility & contrast

On white

1.90
#C3C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#C3C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C142
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C142#FFFFFF#000000##000000
##C3C1421.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#D2BE4A
Tritanopia (blue-blind)
#D1B5A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c3c142;
/* rgb */ color: rgb(195, 193, 66);
/* oklch */ color: oklch(78.9% 0.146 108.4);
Tailwind
colors: {
  custom: {
    50: '#d8d37d',
    500: '#c3c142',
    950: '#000000',
  },
}
SCSS
$custom: #c3c142;
$custom-light: #d8d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c142",
  "rgb": {
    "r": 195,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 59.07,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78937,
    "c": 0.14558,
    "h": 108.4
  },
  "luminance": 0.50135
}

Semantic roles & 50–950 ramp

primary
#C3C142
secondary
#363773
accent
#4FDB4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3C142

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

Preview Lab → · Contrast checker → · Palette generator →

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