#C7B33B#C7B33B

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

Color values

HEX#C7B33B
RGBrgb(199, 179, 59)
HSLhsl(51, 56%, 51%)
HSVhsv(51, 70%, 78%)
CMYKcmyk(0%, 10.1%, 70.4%, 22%)
CIE-LABlab(72.69, -6.16, 60.82)
CIE-LCHlch(72.69, 61.13, 95.79°)
OKLaboklab(76.25% -0.0229 0.1355)
OKLCHoklch(76.25% 0.137 99.6)
XYZxyz(40.4646, 44.7000, 10.6334)
Luminance0.4470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B33B #3B4FC7
analogous
#C76D3B #C7B33B #95C73B
triadic
#C7B33B #3BC7B3 #B33BC7
tetradic
#C7B33B #3BC76D #3B4FC7 #C73B95
square
#C7B33B #3BC76D #3B4FC7 #C73B95
split-complementary
#C7B33B #3B95C7 #6D3BC7
monochromatic
#695F1E #99892C #C7B33B #D5C56B #E2D89A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7B33B#FFFFFF#000000##000000
##C7B33B1.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)
#C4AE29
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#D6A69B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7b33b;
/* rgb */ color: rgb(199, 179, 59);
/* oklch */ color: oklch(76.3% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#dcc978',
    500: '#c7b33b',
    950: '#000000',
  },
}
SCSS
$custom: #c7b33b;
$custom-light: #dcc978;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b33b",
  "rgb": {
    "r": 199,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 51.429,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76252,
    "c": 0.13738,
    "h": 99.6
  },
  "luminance": 0.44698
}

Semantic roles & 50–950 ramp

primary
#C7B33B
secondary
#9099CE
accent
#5EDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7B33B

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

Preview Lab → · Contrast checker → · Palette generator →

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