#C7CE31#C7CE31

#C7CE31 is a light, vivid yellow. Relative luminance 0.565; OKLCH L 82.0% C 0.168 H 112.2°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#C7CE31
RGBrgb(199, 206, 49)
HSLhsl(63, 62%, 50%)
HSVhsv(63, 76%, 81%)
CMYKcmyk(3.4%, 0%, 76.2%, 19.2%)
CIE-LABlab(79.90, -20.29, 71.14)
CIE-LCHlch(79.90, 73.98, 105.92°)
OKLaboklab(81.98% -0.0635 0.1555)
OKLCHoklch(81.98% 0.168 112.2)
XYZxyz(46.1804, 56.5076, 11.3795)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CE31 #3831CE
analogous
#CE8631 #C7CE31 #79CE31
triadic
#C7CE31 #31C7CE #CE31C7
tetradic
#C7CE31 #31CE86 #3831CE #CE3179
square
#C7CE31 #31CE86 #3831CE #CE3179
split-complementary
#C7CE31 #3179CE #8631CE
monochromatic
#676B19 #979D25 #C7CE31 #D4DA62 #E2E694

Accessibility & contrast

On white

1.71
#C7CE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#C7CE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CE31
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CE31#FFFFFF#000000##000000
##C7CE311.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC401
Deuteranopia (green-blind)
#DEC83F
Tritanopia (blue-blind)
#D5C1B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7ce31;
/* rgb */ color: rgb(199, 206, 49);
/* oklch */ color: oklch(82.0% 0.168 112.2);
Tailwind
colors: {
  custom: {
    50: '#dcdc76',
    500: '#c7ce31',
    950: '#000000',
  },
}
SCSS
$custom: #c7ce31;
$custom-light: #dcdc76;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ce31",
  "rgb": {
    "r": 199,
    "g": 206,
    "b": 49
  },
  "hsl": {
    "h": 62.675,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.81979,
    "c": 0.16801,
    "h": 112.2
  },
  "luminance": 0.56506
}

Semantic roles & 50–950 ramp

primary
#C7CE31
secondary
#322E75
accent
#43E54A
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C7CE31

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

Preview Lab → · Contrast checker → · Palette generator →

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