#C7C32D#C7C32D

#C7C32D is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.6% C 0.159 H 107.9°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#C7C32D
RGBrgb(199, 195, 45)
HSLhsl(58, 63%, 48%)
HSVhsv(58, 77%, 78%)
CMYKcmyk(0%, 2%, 77.4%, 22%)
CIE-LABlab(76.90, -14.98, 69.63)
CIE-LCHlch(76.90, 71.22, 102.14°)
OKLaboklab(79.57% -0.049 0.1516)
OKLCHoklch(79.57% 0.159 107.9)
XYZxyz(43.5437, 51.3633, 10.1025)
Luminance0.5136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C32D #2D31C7
analogous
#C7762D #C7C32D #7EC72D
triadic
#C7C32D #2DC7C3 #C32DC7
tetradic
#C7C32D #2DC776 #2D31C7 #C72D7E
square
#C7C32D #2DC776 #2D31C7 #C72D7E
split-complementary
#C7C32D #2D7EC7 #762DC7
monochromatic
#636116 #959222 #C7C32D #D9D658 #E5E28A

Accessibility & contrast

On white

1.86
#C7C32D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#C7C32D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C32D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C32D#FFFFFF#000000##000000
##C7C32D1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D6C03A
Tritanopia (blue-blind)
#D6B6A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c32d;
/* rgb */ color: rgb(199, 195, 45);
/* oklch */ color: oklch(79.6% 0.159 107.9);
Tailwind
colors: {
  custom: {
    50: '#dcd473',
    500: '#c7c32d',
    950: '#000000',
  },
}
SCSS
$custom: #c7c32d;
$custom-light: #dcd473;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c32d",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 45
  },
  "hsl": {
    "h": 58.442,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.79572,
    "c": 0.15932,
    "h": 107.9
  },
  "luminance": 0.51362
}

Semantic roles & 50–950 ramp

primary
#C7C32D
secondary
#2A2C6E
accent
#46E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C32D

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

Preview Lab → · Contrast checker → · Palette generator →

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