#C7B432#C7B432

#C7B432 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.4% C 0.144 H 100.6°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#C7B432
RGBrgb(199, 180, 50)
HSLhsl(52, 60%, 49%)
HSVhsv(52, 75%, 78%)
CMYKcmyk(0%, 9.5%, 74.9%, 22%)
CIE-LABlab(72.90, -7.10, 64.34)
CIE-LCHlch(72.90, 64.73, 96.30°)
OKLaboklab(76.4% -0.0265 0.1413)
OKLCHoklch(76.4% 0.144 100.6)
XYZxyz(40.4521, 45.0168, 9.5754)
Luminance0.4501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B432 #3245C7
analogous
#C76A32 #C7B432 #90C732
triadic
#C7B432 #32C7B4 #B432C7
tetradic
#C7B432 #32C76A #3245C7 #C73290
square
#C7B432 #32C76A #3245C7 #C73290
split-complementary
#C7B432 #3290C7 #6A32C7
monochromatic
#655C19 #968826 #C7B432 #D7C85F #E3D990

Accessibility & contrast

On white

2.10
#C7B432 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#C7B432 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B432
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B432#FFFFFF#000000##000000
##C7B4321.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF18
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#D7A79B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7b432;
/* rgb */ color: rgb(199, 180, 50);
/* oklch */ color: oklch(76.4% 0.144 100.6);
Tailwind
colors: {
  custom: {
    50: '#dcca74',
    500: '#c7b432',
    950: '#000000',
  },
}
SCSS
$custom: #c7b432;
$custom-light: #dcca74;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b432",
  "rgb": {
    "r": 199,
    "g": 180,
    "b": 50
  },
  "hsl": {
    "h": 52.349,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.764,
    "c": 0.14372,
    "h": 100.6
  },
  "luminance": 0.45015
}

Semantic roles & 50–950 ramp

primary
#C7B432
secondary
#8790CE
accent
#59E345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7B432

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

Preview Lab → · Contrast checker → · Palette generator →

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