#C7A232#C7A232

#C7A232 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.7% C 0.132 H 89.8°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#C7A232
RGBrgb(199, 162, 50)
HSLhsl(45, 60%, 49%)
HSVhsv(45, 75%, 78%)
CMYKcmyk(0%, 18.6%, 74.9%, 22%)
CIE-LABlab(68.18, 2.41, 59.85)
CIE-LCHlch(68.18, 59.90, 87.69°)
OKLaboklab(72.66% 0.0006 0.1317)
OKLCHoklch(72.66% 0.132 89.8)
XYZxyz(37.0514, 38.2154, 8.4418)
Luminance0.3821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A232 #3257C7
analogous
#C75832 #C7A232 #A2C732
triadic
#C7A232 #32C7A2 #A232C7
tetradic
#C7A232 #32C758 #3257C7 #C732A2
square
#C7A232 #32C758 #3257C7 #C732A2
split-complementary
#C7A232 #32A2C7 #5832C7
monochromatic
#655219 #967A26 #C7A232 #D7B95F #E3CF90

Accessibility & contrast

On white

2.43
#C7A232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#C7A232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A232
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A232#FFFFFF#000000##000000
##C7A2321.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01F
Deuteranopia (green-blind)
#BEAA38
Tritanopia (blue-blind)
#D8948C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c7a232;
/* rgb */ color: rgb(199, 162, 50);
/* oklch */ color: oklch(72.7% 0.132 89.8);
Tailwind
colors: {
  custom: {
    50: '#dcbd72',
    500: '#c7a232',
    950: '#000000',
  },
}
SCSS
$custom: #c7a232;
$custom-light: #dcbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a232",
  "rgb": {
    "r": 199,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 45.101,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72663,
    "c": 0.13172,
    "h": 89.8
  },
  "luminance": 0.38213
}

Semantic roles & 50–950 ramp

primary
#C7A232
secondary
#8799CE
accent
#6CE345
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C7A232

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

Preview Lab → · Contrast checker → · Palette generator →

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