#C7A92A#C7A92A

#C7A92A is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.1% C 0.140 H 94.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#C7A92A
RGBrgb(199, 169, 42)
HSLhsl(49, 65%, 47%)
HSVhsv(49, 79%, 78%)
CMYKcmyk(0%, 15.1%, 78.9%, 22%)
CIE-LABlab(69.96, -1.64, 64.32)
CIE-LCHlch(69.96, 64.34, 91.46°)
OKLaboklab(74.05% -0.0118 0.1396)
OKLCHoklch(74.05% 0.14 94.8)
XYZxyz(38.1612, 40.6874, 8.0335)
Luminance0.4068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A92A #2A48C7
analogous
#C75B2A #C7A92A #97C72A
triadic
#C7A92A #2AC7A9 #A92AC7
tetradic
#C7A92A #2AC75B #2A48C7 #C72A97
square
#C7A92A #2AC75B #2A48C7 #C72A97
split-complementary
#C7A92A #2A97C7 #5B2AC7
monochromatic
#625315 #947E1F #C7A92A #DBC153 #E5D386

Accessibility & contrast

On white

2.30
#C7A92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#C7A92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A92A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A92A#FFFFFF#000000##000000
##C7A92A1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA60A
Deuteranopia (green-blind)
#C3AF33
Tritanopia (blue-blind)
#D79B91
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c7a92a;
/* rgb */ color: rgb(199, 169, 42);
/* oklch */ color: oklch(74.1% 0.140 94.8);
Tailwind
colors: {
  custom: {
    50: '#dcc26f',
    500: '#c7a92a',
    950: '#000000',
  },
}
SCSS
$custom: #c7a92a;
$custom-light: #dcc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a92a",
  "rgb": {
    "r": 199,
    "g": 169,
    "b": 42
  },
  "hsl": {
    "h": 48.535,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74052,
    "c": 0.14012,
    "h": 94.8
  },
  "luminance": 0.40685
}

Semantic roles & 50–950 ramp

primary
#C7A92A
secondary
#7E8DCF
accent
#60E840
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C7A92A

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

Preview Lab → · Contrast checker → · Palette generator →

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