#C3CE31#C3CE31

#C3CE31 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.7% C 0.169 H 113.7°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#C3CE31
RGBrgb(195, 206, 49)
HSLhsl(64, 62%, 50%)
HSVhsv(64, 76%, 81%)
CMYKcmyk(5.3%, 0%, 76.2%, 19.2%)
CIE-LABlab(79.60, -21.97, 70.75)
CIE-LCHlch(79.60, 74.08, 107.25°)
OKLaboklab(81.66% -0.0679 0.1548)
OKLCHoklch(81.66% 0.169 113.7)
XYZxyz(45.1328, 55.9674, 11.3304)
Luminance0.5597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CE31 #3C31CE
analogous
#CE8B31 #C3CE31 #74CE31
triadic
#C3CE31 #31C3CE #CE31C3
tetradic
#C3CE31 #31CE8B #3C31CE #CE3174
square
#C3CE31 #31CE8B #3C31CE #CE3174
split-complementary
#C3CE31 #3174CE #8B31CE
monochromatic
#656B19 #949D25 #C3CE31 #D1DA62 #E0E694

Accessibility & contrast

On white

1.72
#C3CE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#C3CE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CE31
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CE31#FFFFFF#000000##000000
##C3CE311.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC402
Deuteranopia (green-blind)
#DDC73F
Tritanopia (blue-blind)
#D0C1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c3ce31;
/* rgb */ color: rgb(195, 206, 49);
/* oklch */ color: oklch(81.7% 0.169 113.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc76',
    500: '#c3ce31',
    950: '#000000',
  },
}
SCSS
$custom: #c3ce31;
$custom-light: #d9dc76;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ce31",
  "rgb": {
    "r": 195,
    "g": 206,
    "b": 49
  },
  "hsl": {
    "h": 64.204,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.81657,
    "c": 0.1691,
    "h": 113.7
  },
  "luminance": 0.55966
}

Semantic roles & 50–950 ramp

primary
#C3CE31
secondary
#332E75
accent
#43E54E
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C3CE31

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

Preview Lab → · Contrast checker → · Palette generator →

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