#C7A224#C7A224

#C7A224 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.6% C 0.139 H 90.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#C7A224
RGBrgb(199, 162, 36)
HSLhsl(46, 69%, 46%)
HSVhsv(46, 82%, 78%)
CMYKcmyk(0%, 18.6%, 81.9%, 22%)
CIE-LABlab(68.10, 1.89, 64.55)
CIE-LCHlch(68.10, 64.58, 88.32°)
OKLaboklab(72.58% -0.0023 0.1389)
OKLCHoklch(72.58% 0.139 90.9)
XYZxyz(36.7942, 38.1125, 7.0872)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A224 #2449C7
analogous
#C75024 #C7A224 #9AC724
triadic
#C7A224 #24C7A2 #A224C7
tetradic
#C7A224 #24C750 #2449C7 #C7249A
square
#C7A224 #24C750 #2449C7 #C7249A
split-complementary
#C7A224 #249AC7 #5024C7
monochromatic
#5F4E11 #93781B #C7A224 #DEBD4A #E8D07E

Accessibility & contrast

On white

2.44
#C7A224 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#C7A224 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A224
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A224#FFFFFF#000000##000000
##C7A2241.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#BEAA2D
Tritanopia (blue-blind)
#D8948B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c7a224;
/* rgb */ color: rgb(199, 162, 36);
/* oklch */ color: oklch(72.6% 0.139 90.9);
Tailwind
colors: {
  custom: {
    50: '#ddbd6b',
    500: '#c7a224',
    950: '#000000',
  },
}
SCSS
$custom: #c7a224;
$custom-light: #ddbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a224",
  "rgb": {
    "r": 199,
    "g": 162,
    "b": 36
  },
  "hsl": {
    "h": 46.38,
    "s": 69.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72579,
    "c": 0.13891,
    "h": 90.9
  },
  "luminance": 0.3811
}

Semantic roles & 50–950 ramp

primary
#C7A224
secondary
#778BD0
accent
#64EC3C
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #C7A224

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

Preview Lab → · Contrast checker → · Palette generator →

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