#C7B132#C7B132

#C7B132 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.8% C 0.141 H 99.0°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#C7B132
RGBrgb(199, 177, 50)
HSLhsl(51, 60%, 49%)
HSVhsv(51, 75%, 78%)
CMYKcmyk(0%, 11.1%, 74.9%, 22%)
CIE-LABlab(72.11, -5.54, 63.59)
CIE-LCHlch(72.11, 63.83, 94.98°)
OKLaboklab(75.77% -0.0221 0.1397)
OKLCHoklch(75.77% 0.141 99)
XYZxyz(39.8530, 43.8187, 9.3757)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B132 #3248C7
analogous
#C76732 #C7B132 #93C732
triadic
#C7B132 #32C7B1 #B132C7
tetradic
#C7B132 #32C767 #3248C7 #C73293
square
#C7B132 #32C767 #3248C7 #C73293
split-complementary
#C7B132 #3293C7 #6732C7
monochromatic
#655A19 #968526 #C7B132 #D7C55F #E3D790

Accessibility & contrast

On white

2.15
#C7B132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#C7B132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B132
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B132#FFFFFF#000000##000000
##C7B1321.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC1A
Deuteranopia (green-blind)
#C9B43B
Tritanopia (blue-blind)
#D7A499
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c7b132;
/* rgb */ color: rgb(199, 177, 50);
/* oklch */ color: oklch(75.8% 0.141 99.0);
Tailwind
colors: {
  custom: {
    50: '#dcc773',
    500: '#c7b132',
    950: '#000000',
  },
}
SCSS
$custom: #c7b132;
$custom-light: #dcc773;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b132",
  "rgb": {
    "r": 199,
    "g": 177,
    "b": 50
  },
  "hsl": {
    "h": 51.141,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75768,
    "c": 0.1414,
    "h": 99
  },
  "luminance": 0.43817
}

Semantic roles & 50–950 ramp

primary
#C7B132
secondary
#8791CE
accent
#5CE345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7B132

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

Preview Lab → · Contrast checker → · Palette generator →

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