#C7B33A#C7B33A

#C7B33A is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.2% C 0.138 H 99.7°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#C7B33A
RGBrgb(199, 179, 58)
HSLhsl(51, 56%, 50%)
HSVhsv(51, 71%, 78%)
CMYKcmyk(0%, 10.1%, 70.9%, 22%)
CIE-LABlab(72.69, -6.21, 61.20)
CIE-LCHlch(72.69, 61.51, 95.80°)
OKLaboklab(76.24% -0.0231 0.1361)
OKLCHoklch(76.24% 0.138 99.7)
XYZxyz(40.4389, 44.6897, 10.4981)
Luminance0.4469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B33A #3A4EC7
analogous
#C76C3A #C7B33A #95C73A
triadic
#C7B33A #3AC7B3 #B33AC7
tetradic
#C7B33A #3AC76C #3A4EC7 #C73A95
square
#C7B33A #3AC76C #3A4EC7 #C73A95
split-complementary
#C7B33A #3A95C7 #6C3AC7
monochromatic
#695E1E #98892B #C7B33A #D5C56A #E2D899

Accessibility & contrast

On white

2.11
#C7B33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#C7B33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B33A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B33A#FFFFFF#000000##000000
##C7B33A1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE27
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#D6A69B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7b33a;
/* rgb */ color: rgb(199, 179, 58);
/* oklch */ color: oklch(76.2% 0.138 99.7);
Tailwind
colors: {
  custom: {
    50: '#dcc978',
    500: '#c7b33a',
    950: '#000000',
  },
}
SCSS
$custom: #c7b33a;
$custom-light: #dcc978;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b33a",
  "rgb": {
    "r": 199,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 51.489,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76244,
    "c": 0.13804,
    "h": 99.7
  },
  "luminance": 0.44688
}

Semantic roles & 50–950 ramp

primary
#C7B33A
secondary
#8F98CE
accent
#5EDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7B33A

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

Preview Lab → · Contrast checker → · Palette generator →

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