#A79A23#A79A23

#A79A23 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.7% C 0.132 H 102.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A79A23
RGBrgb(167, 154, 35)
HSLhsl(54, 65%, 40%)
HSVhsv(54, 79%, 65%)
CMYKcmyk(0%, 7.8%, 79%, 34.5%)
CIE-LABlab(62.89, -8.14, 59.08)
CIE-LCHlch(62.89, 59.64, 97.84°)
OKLaboklab(67.73% -0.0291 0.1285)
OKLCHoklch(67.73% 0.132 102.8)
XYZxyz(27.7966, 31.4493, 6.1959)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79A23 #2330A7
analogous
#A75823 #A79A23 #72A723
triadic
#A79A23 #23A79A #9A23A7
tetradic
#A79A23 #23A758 #2330A7 #A72372
square
#A79A23 #23A758 #2330A7 #A72372
split-complementary
#A79A23 #2372A7 #5823A7
monochromatic
#423D0E #746B18 #A79A23 #D4C433 #DFD366

Accessibility & contrast

On white

2.88
#A79A23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#A79A23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79A23
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79A23#FFFFFF#000000##000000
##A79A231.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99502
Deuteranopia (green-blind)
#AD9B2C
Tritanopia (blue-blind)
#B48F84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a79a23;
/* rgb */ color: rgb(167, 154, 35);
/* oklch */ color: oklch(67.7% 0.132 102.8);
Tailwind
colors: {
  custom: {
    50: '#c5b769',
    500: '#a79a23',
    950: '#000000',
  },
}
SCSS
$custom: #a79a23;
$custom-light: #c5b769;
$custom-dark: #000000;
JSON
{
  "hex": "#a79a23",
  "rgb": {
    "r": 167,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 54.091,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67727,
    "c": 0.13175,
    "h": 102.8
  },
  "luminance": 0.31448
}

Semantic roles & 50–950 ramp

primary
#A79A23
secondary
#616BC4
accent
#50E83F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79A23

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

Preview Lab → · Contrast checker → · Palette generator →

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