#C7A332#C7A332

#C7A332 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.9% C 0.132 H 90.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#C7A332
RGBrgb(199, 163, 50)
HSLhsl(46, 60%, 49%)
HSVhsv(46, 75%, 78%)
CMYKcmyk(0%, 18.1%, 74.9%, 22%)
CIE-LABlab(68.44, 1.88, 60.10)
CIE-LCHlch(68.44, 60.13, 88.21°)
OKLaboklab(72.87% -0.001 0.1323)
OKLCHoklch(72.87% 0.132 90.4)
XYZxyz(37.2283, 38.5691, 8.5007)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A332 #3256C7
analogous
#C75932 #C7A332 #A1C732
triadic
#C7A332 #32C7A3 #A332C7
tetradic
#C7A332 #32C759 #3256C7 #C732A1
square
#C7A332 #32C759 #3256C7 #C732A1
split-complementary
#C7A332 #32A1C7 #5932C7
monochromatic
#655319 #967B26 #C7A332 #D7BA5F #E3CF90

Accessibility & contrast

On white

2.41
#C7A332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#C7A332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A332
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A332#FFFFFF#000000##000000
##C7A3321.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11F
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#D8958D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c7a332;
/* rgb */ color: rgb(199, 163, 50);
/* oklch */ color: oklch(72.9% 0.132 90.4);
Tailwind
colors: {
  custom: {
    50: '#dcbd72',
    500: '#c7a332',
    950: '#000000',
  },
}
SCSS
$custom: #c7a332;
$custom-light: #dcbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a332",
  "rgb": {
    "r": 199,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 45.503,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72867,
    "c": 0.13225,
    "h": 90.4
  },
  "luminance": 0.38567
}

Semantic roles & 50–950 ramp

primary
#C7A332
secondary
#8798CE
accent
#6BE345
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C7A332

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

Preview Lab → · Contrast checker → · Palette generator →

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