#C7C33A#C7C33A

#C7C33A is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.7% C 0.152 H 107.7°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#C7C33A
RGBrgb(199, 195, 58)
HSLhsl(58, 56%, 50%)
HSVhsv(58, 71%, 78%)
CMYKcmyk(0%, 2%, 70.9%, 22%)
CIE-LABlab(76.97, -14.42, 65.40)
CIE-LCHlch(76.97, 66.97, 102.44°)
OKLaboklab(79.65% -0.0463 0.145)
OKLCHoklch(79.65% 0.152 107.7)
XYZxyz(43.8337, 51.4793, 11.6297)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C33A #3A3EC7
analogous
#C77C3A #C7C33A #84C73A
triadic
#C7C33A #3AC7C3 #C33AC7
tetradic
#C7C33A #3AC77C #3A3EC7 #C73A84
square
#C7C33A #3AC77C #3A3EC7 #C73A84
split-complementary
#C7C33A #3A84C7 #7C3AC7
monochromatic
#69671E #98952B #C7C33A #D5D26A #E2E099

Accessibility & contrast

On white

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

On black

11.30
#C7C33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C33A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C33A#FFFFFF#000000##000000
##C7C33A1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB22
Deuteranopia (green-blind)
#D6C044
Tritanopia (blue-blind)
#D5B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c33a;
/* rgb */ color: rgb(199, 195, 58);
/* oklch */ color: oklch(79.7% 0.152 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcd479',
    500: '#c7c33a',
    950: '#000000',
  },
}
SCSS
$custom: #c7c33a;
$custom-light: #dcd479;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c33a",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 58
  },
  "hsl": {
    "h": 58.298,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7965,
    "c": 0.15218,
    "h": 107.7
  },
  "luminance": 0.51478
}

Semantic roles & 50–950 ramp

primary
#C7C33A
secondary
#323473
accent
#4DDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C33A

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

Preview Lab → · Contrast checker → · Palette generator →

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