#C7C32C#C7C32C

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

Color values

HEX#C7C32C
RGBrgb(199, 195, 44)
HSLhsl(58, 64%, 48%)
HSVhsv(58, 78%, 78%)
CMYKcmyk(0%, 2%, 77.9%, 22%)
CIE-LABlab(76.89, -15.01, 69.92)
CIE-LCHlch(76.89, 71.51, 102.12°)
OKLaboklab(79.57% -0.0492 0.152)
OKLCHoklch(79.57% 0.16 107.9)
XYZxyz(43.5247, 51.3557, 10.0023)
Luminance0.5135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C32C #2C30C7
analogous
#C7762C #C7C32C #7DC72C
triadic
#C7C32C #2CC7C3 #C32CC7
tetradic
#C7C32C #2CC776 #2C30C7 #C72C7D
square
#C7C32C #2CC776 #2C30C7 #C72C7D
split-complementary
#C7C32C #2C7DC7 #762CC7
monochromatic
#636116 #959221 #C7C32C #DAD656 #E5E289

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C32C#FFFFFF#000000##000000
##C7C32C1.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)
#D6C039
Tritanopia (blue-blind)
#D6B6A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c32c;
/* rgb */ color: rgb(199, 195, 44);
/* oklch */ color: oklch(79.6% 0.160 107.9);
Tailwind
colors: {
  custom: {
    50: '#dcd473',
    500: '#c7c32c',
    950: '#000000',
  },
}
SCSS
$custom: #c7c32c;
$custom-light: #dcd473;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c32c",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 44
  },
  "hsl": {
    "h": 58.452,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.79567,
    "c": 0.15981,
    "h": 107.9
  },
  "luminance": 0.51354
}

Semantic roles & 50–950 ramp

primary
#C7C32C
secondary
#2A2C6D
accent
#45E741
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C32C

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

Preview Lab → · Contrast checker → · Palette generator →

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