#C7CE32#C7CE32

#C7CE32 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#C7CE32
RGBrgb(199, 206, 50)
HSLhsl(63, 61%, 50%)
HSVhsv(63, 76%, 81%)
CMYKcmyk(3.4%, 0%, 75.7%, 19.2%)
CIE-LABlab(79.91, -20.25, 70.84)
CIE-LCHlch(79.91, 73.68, 105.96°)
OKLaboklab(81.98% -0.0633 0.1551)
OKLCHoklch(81.98% 0.168 112.2)
XYZxyz(46.2018, 56.5162, 11.4919)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CE32 #3932CE
analogous
#CE8732 #C7CE32 #79CE32
triadic
#C7CE32 #32C7CE #CE32C7
tetradic
#C7CE32 #32CE87 #3932CE #CE3279
square
#C7CE32 #32CE87 #3932CE #CE3279
split-complementary
#C7CE32 #3279CE #8732CE
monochromatic
#686C1A #989D26 #C7CE32 #D4DA63 #E2E695

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CE32#FFFFFF#000000##000000
##C7CE321.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)
#DEC405
Deuteranopia (green-blind)
#DEC840
Tritanopia (blue-blind)
#D5C1B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7ce32;
/* rgb */ color: rgb(199, 206, 50);
/* oklch */ color: oklch(82.0% 0.168 112.2);
Tailwind
colors: {
  custom: {
    50: '#dcdc77',
    500: '#c7ce32',
    950: '#000000',
  },
}
SCSS
$custom: #c7ce32;
$custom-light: #dcdc77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ce32",
  "rgb": {
    "r": 199,
    "g": 206,
    "b": 50
  },
  "hsl": {
    "h": 62.692,
    "s": 61.417,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81984,
    "c": 0.16751,
    "h": 112.2
  },
  "luminance": 0.56515
}

Semantic roles & 50–950 ramp

primary
#C7CE32
secondary
#322F75
accent
#43E54B
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C7CE32

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

Preview Lab → · Contrast checker → · Palette generator →

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