#C3C931#C3C931

#C3C931 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.6% C 0.164 H 111.9°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#C3C931
RGBrgb(195, 201, 49)
HSLhsl(62, 61%, 49%)
HSVhsv(62, 76%, 79%)
CMYKcmyk(3%, 0%, 75.6%, 21.2%)
CIE-LABlab(78.23, -19.51, 69.49)
CIE-LCHlch(78.23, 72.18, 105.68°)
OKLaboklab(80.56% -0.0611 0.1522)
OKLCHoklch(80.56% 0.164 111.9)
XYZxyz(43.9482, 53.5983, 10.9356)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C931 #3731C9
analogous
#C98331 #C3C931 #77C931
triadic
#C3C931 #31C3C9 #C931C3
tetradic
#C3C931 #31C983 #3731C9 #C93177
square
#C3C931 #31C983 #3731C9 #C93177
split-complementary
#C3C931 #3177C9 #8331C9
monochromatic
#646719 #939825 #C3C931 #D3D85F #E1E490

Accessibility & contrast

On white

1.79
#C3C931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#C3C931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C931
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C931#FFFFFF#000000##000000
##C3C9311.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C007
Deuteranopia (green-blind)
#D9C33E
Tritanopia (blue-blind)
#D1BCAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c3c931;
/* rgb */ color: rgb(195, 201, 49);
/* oklch */ color: oklch(80.6% 0.164 111.9);
Tailwind
colors: {
  custom: {
    50: '#d9d975',
    500: '#c3c931',
    950: '#000000',
  },
}
SCSS
$custom: #c3c931;
$custom-light: #d9d975;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c931",
  "rgb": {
    "r": 195,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 62.368,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.80561,
    "c": 0.16401,
    "h": 111.9
  },
  "luminance": 0.53597
}

Semantic roles & 50–950 ramp

primary
#C3C931
secondary
#302D71
accent
#44E44A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C3C931

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

Preview Lab → · Contrast checker → · Palette generator →

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