#C7A82A#C7A82A

#C7A82A is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.8% C 0.140 H 94.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#C7A82A
RGBrgb(199, 168, 42)
HSLhsl(48, 65%, 47%)
HSVhsv(48, 79%, 78%)
CMYKcmyk(0%, 15.6%, 78.9%, 22%)
CIE-LABlab(69.69, -1.11, 64.08)
CIE-LCHlch(69.69, 64.09, 90.99°)
OKLaboklab(73.85% -0.0103 0.1391)
OKLCHoklch(73.85% 0.14 94.2)
XYZxyz(37.9759, 40.3168, 7.9717)
Luminance0.4032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A82A #2A49C7
analogous
#C75A2A #C7A82A #97C72A
triadic
#C7A82A #2AC7A8 #A82AC7
tetradic
#C7A82A #2AC75A #2A49C7 #C72A97
square
#C7A82A #2AC75A #2A49C7 #C72A97
split-complementary
#C7A82A #2A97C7 #5A2AC7
monochromatic
#625315 #947D1F #C7A82A #DBC053 #E5D386

Accessibility & contrast

On white

2.32
#C7A82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#C7A82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A82A
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A82A#FFFFFF#000000##000000
##C7A82A1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA50B
Deuteranopia (green-blind)
#C2AE32
Tritanopia (blue-blind)
#D79A90
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c7a82a;
/* rgb */ color: rgb(199, 168, 42);
/* oklch */ color: oklch(73.8% 0.140 94.2);
Tailwind
colors: {
  custom: {
    50: '#dcc16e',
    500: '#c7a82a',
    950: '#000000',
  },
}
SCSS
$custom: #c7a82a;
$custom-light: #dcc16e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a82a",
  "rgb": {
    "r": 199,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 48.153,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73845,
    "c": 0.1395,
    "h": 94.2
  },
  "luminance": 0.40315
}

Semantic roles & 50–950 ramp

primary
#C7A82A
secondary
#7E8ECF
accent
#61E840
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C7A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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