#C3C242#C3C242

#C3C242 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.2% C 0.147 H 108.9°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#C3C242
RGBrgb(195, 194, 66)
HSLhsl(60, 52%, 51%)
HSVhsv(60, 66%, 76%)
CMYKcmyk(0%, 0.5%, 66.2%, 23.5%)
CIE-LABlab(76.42, -15.19, 61.73)
CIE-LCHlch(76.42, 63.57, 103.83°)
OKLaboklab(79.15% -0.0475 0.1387)
OKLCHoklch(79.15% 0.147 108.9)
XYZxyz(42.7823, 50.5803, 12.6625)
Luminance0.5058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C242 #4243C3
analogous
#C38142 #C3C242 #83C342
triadic
#C3C242 #42C3C2 #C242C3
tetradic
#C3C242 #42C381 #4243C3 #C34283
square
#C3C242 #42C381 #4243C3 #C34283
split-complementary
#C3C242 #4283C3 #8142C3
monochromatic
#696921 #989730 #C3C242 #D2D170 #E0E09F

Accessibility & contrast

On white

1.89
#C3C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#C3C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C242
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C242#FFFFFF#000000##000000
##C3C2421.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#D3BF4B
Tritanopia (blue-blind)
#D0B6A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c3c242;
/* rgb */ color: rgb(195, 194, 66);
/* oklch */ color: oklch(79.2% 0.147 108.9);
Tailwind
colors: {
  custom: {
    50: '#d8d47d',
    500: '#c3c242',
    950: '#000000',
  },
}
SCSS
$custom: #c3c242;
$custom-light: #d8d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c242",
  "rgb": {
    "r": 195,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 59.535,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79153,
    "c": 0.14659,
    "h": 108.9
  },
  "luminance": 0.50579
}

Semantic roles & 50–950 ramp

primary
#C3C242
secondary
#363673
accent
#4EDB4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3C242

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

Preview Lab → · Contrast checker → · Palette generator →

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