#C7C33B#C7C33B

#C7C33B 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#C7C33B
RGBrgb(199, 195, 59)
HSLhsl(58, 56%, 51%)
HSVhsv(58, 70%, 78%)
CMYKcmyk(0%, 2%, 70.4%, 22%)
CIE-LABlab(76.97, -14.38, 65.04)
CIE-LCHlch(76.97, 66.61, 102.46°)
OKLaboklab(79.66% -0.0461 0.1444)
OKLCHoklch(79.66% 0.152 107.7)
XYZxyz(43.8594, 51.4895, 11.7650)
Luminance0.5149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C33B #3B3FC7
analogous
#C77D3B #C7C33B #85C73B
triadic
#C7C33B #3BC7C3 #C33BC7
tetradic
#C7C33B #3BC77D #3B3FC7 #C73B85
square
#C7C33B #3BC77D #3B3FC7 #C73B85
split-complementary
#C7C33B #3B85C7 #7D3BC7
monochromatic
#69671E #99962C #C7C33B #D5D26B #E2E09A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C33B#FFFFFF#000000##000000
##C7C33B1.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)
#D3BB24
Deuteranopia (green-blind)
#D6C045
Tritanopia (blue-blind)
#D5B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c33b;
/* rgb */ color: rgb(199, 195, 59);
/* oklch */ color: oklch(79.7% 0.152 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcd47a',
    500: '#c7c33b',
    950: '#000000',
  },
}
SCSS
$custom: #c7c33b;
$custom-light: #dcd47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c33b",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 58.286,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79657,
    "c": 0.15157,
    "h": 107.7
  },
  "luminance": 0.51488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7C33B

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

Preview Lab → · Contrast checker → · Palette generator →

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