#A79730#A79730

#A79730 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.2% C 0.121 H 100.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A79730
RGBrgb(167, 151, 48)
HSLhsl(52, 55%, 42%)
HSVhsv(52, 71%, 65%)
CMYKcmyk(0%, 9.6%, 71.3%, 34.5%)
CIE-LABlab(62.14, -5.95, 53.68)
CIE-LCHlch(62.14, 54.01, 96.32°)
OKLaboklab(67.16% -0.0216 0.1195)
OKLCHoklch(67.16% 0.121 100.3)
XYZxyz(27.5377, 30.5634, 7.2445)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79730 #3040A7
analogous
#A75C30 #A79730 #7BA730
triadic
#A79730 #30A797 #9730A7
tetradic
#A79730 #30A75C #3040A7 #A7307B
square
#A79730 #30A75C #3040A7 #A7307B
split-complementary
#A79730 #307BA7 #5C30A7
monochromatic
#484115 #776C22 #A79730 #CBB949 #D8CC79

Accessibility & contrast

On white

2.95
#A79730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#A79730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79730
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79730#FFFFFF#000000##000000
##A797301.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59320
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#B48C82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a79730;
/* rgb */ color: rgb(167, 151, 48);
/* oklch */ color: oklch(67.2% 0.121 100.3);
Tailwind
colors: {
  custom: {
    50: '#c5b56f',
    500: '#a79730',
    950: '#000000',
  },
}
SCSS
$custom: #a79730;
$custom-light: #c5b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#a79730",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 51.933,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67158,
    "c": 0.12146,
    "h": 100.3
  },
  "luminance": 0.30562
}

Semantic roles & 50–950 ramp

primary
#A79730
secondary
#727DC1
accent
#5DDF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A79730

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

Preview Lab → · Contrast checker → · Palette generator →

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