#C7A93A#C7A93A

#C7A93A is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.2% C 0.131 H 93.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#C7A93A
RGBrgb(199, 169, 58)
HSLhsl(47, 56%, 50%)
HSVhsv(47, 71%, 78%)
CMYKcmyk(0%, 15.1%, 70.9%, 22%)
CIE-LABlab(70.05, -0.95, 58.57)
CIE-LCHlch(70.05, 58.58, 90.93°)
OKLaboklab(74.16% -0.0081 0.1305)
OKLCHoklch(74.16% 0.131 93.6)
XYZxyz(38.5069, 40.8257, 9.8541)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A93A #3A58C7
analogous
#C7623A #C7A93A #9EC73A
triadic
#C7A93A #3AC7A9 #A93AC7
tetradic
#C7A93A #3AC762 #3A58C7 #C73A9E
square
#C7A93A #3AC762 #3A58C7 #C73A9E
split-complementary
#C7A93A #3A9EC7 #623AC7
monochromatic
#69591E #98812B #C7A93A #D5BE6A #E2D399

Accessibility & contrast

On white

2.29
#C7A93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#C7A93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A93A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A93A#FFFFFF#000000##000000
##C7A93A1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#D79C93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c7a93a;
/* rgb */ color: rgb(199, 169, 58);
/* oklch */ color: oklch(74.2% 0.131 93.6);
Tailwind
colors: {
  custom: {
    50: '#dcc277',
    500: '#c7a93a',
    950: '#000000',
  },
}
SCSS
$custom: #c7a93a;
$custom-light: #dcc277;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a93a",
  "rgb": {
    "r": 199,
    "g": 169,
    "b": 58
  },
  "hsl": {
    "h": 47.234,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74159,
    "c": 0.13079,
    "h": 93.6
  },
  "luminance": 0.40824
}

Semantic roles & 50–950 ramp

primary
#C7A93A
secondary
#8F9CCE
accent
#69DF49
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7A93A

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

Preview Lab → · Contrast checker → · Palette generator →

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