#C7A124#C7A124

#C7A124 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.4% C 0.138 H 90.3°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#C7A124
RGBrgb(199, 161, 36)
HSLhsl(46, 69%, 46%)
HSVhsv(46, 82%, 78%)
CMYKcmyk(0%, 19.1%, 81.9%, 22%)
CIE-LABlab(67.84, 2.43, 64.33)
CIE-LCHlch(67.84, 64.38, 87.84°)
OKLaboklab(72.38% -0.0008 0.1384)
OKLCHoklch(72.38% 0.138 90.3)
XYZxyz(36.6188, 37.7616, 7.0287)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A124 #244AC7
analogous
#C74F24 #C7A124 #9BC724
triadic
#C7A124 #24C7A1 #A124C7
tetradic
#C7A124 #24C74F #244AC7 #C7249B
square
#C7A124 #24C74F #244AC7 #C7249B
split-complementary
#C7A124 #249BC7 #4F24C7
monochromatic
#5F4D11 #93771B #C7A124 #DEBC4A #E8CF7E

Accessibility & contrast

On white

2.46
#C7A124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#C7A124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A124
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A124#FFFFFF#000000##000000
##C7A1241.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#BEAA2C
Tritanopia (blue-blind)
#D8928A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c7a124;
/* rgb */ color: rgb(199, 161, 36);
/* oklch */ color: oklch(72.4% 0.138 90.3);
Tailwind
colors: {
  custom: {
    50: '#ddbc6b',
    500: '#c7a124',
    950: '#000000',
  },
}
SCSS
$custom: #c7a124;
$custom-light: #ddbc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a124",
  "rgb": {
    "r": 199,
    "g": 161,
    "b": 36
  },
  "hsl": {
    "h": 46.012,
    "s": 69.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72375,
    "c": 0.1384,
    "h": 90.3
  },
  "luminance": 0.37759
}

Semantic roles & 50–950 ramp

primary
#C7A124
secondary
#778CD0
accent
#65EC3C
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #C7A124

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

Preview Lab → · Contrast checker → · Palette generator →

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