#C7B232#C7B232

#C7B232 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.0% C 0.142 H 99.5°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#C7B232
RGBrgb(199, 178, 50)
HSLhsl(52, 60%, 49%)
HSVhsv(52, 75%, 78%)
CMYKcmyk(0%, 10.6%, 74.9%, 22%)
CIE-LABlab(72.37, -6.06, 63.84)
CIE-LCHlch(72.37, 64.13, 95.42°)
OKLaboklab(75.98% -0.0235 0.1402)
OKLCHoklch(75.98% 0.142 99.5)
XYZxyz(40.0513, 44.2151, 9.4417)
Luminance0.4421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B232 #3247C7
analogous
#C76832 #C7B232 #92C732
triadic
#C7B232 #32C7B2 #B232C7
tetradic
#C7B232 #32C768 #3247C7 #C73292
square
#C7B232 #32C768 #3247C7 #C73292
split-complementary
#C7B232 #3292C7 #6832C7
monochromatic
#655B19 #968626 #C7B232 #D7C65F #E3D790

Accessibility & contrast

On white

2.13
#C7B232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#C7B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B232
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B232#FFFFFF#000000##000000
##C7B2321.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD19
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#D7A599
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c7b232;
/* rgb */ color: rgb(199, 178, 50);
/* oklch */ color: oklch(76.0% 0.142 99.5);
Tailwind
colors: {
  custom: {
    50: '#dcc873',
    500: '#c7b232',
    950: '#000000',
  },
}
SCSS
$custom: #c7b232;
$custom-light: #dcc873;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b232",
  "rgb": {
    "r": 199,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 51.544,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75978,
    "c": 0.14216,
    "h": 99.5
  },
  "luminance": 0.44213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7B232

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

Preview Lab → · Contrast checker → · Palette generator →

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