#A79823#A79823

#A79823 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.130 H 101.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A79823
RGBrgb(167, 152, 35)
HSLhsl(53, 65%, 40%)
HSVhsv(53, 79%, 65%)
CMYKcmyk(0%, 9%, 79%, 34.5%)
CIE-LABlab(62.33, -7.07, 58.59)
CIE-LCHlch(62.33, 59.01, 96.88°)
OKLaboklab(67.29% -0.0261 0.1274)
OKLCHoklch(67.29% 0.13 101.6)
XYZxyz(27.4693, 30.7946, 6.0868)
Luminance0.3079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79823 #2332A7
analogous
#A75623 #A79823 #74A723
triadic
#A79823 #23A798 #9823A7
tetradic
#A79823 #23A756 #2332A7 #A72374
square
#A79823 #23A756 #2332A7 #A72374
split-complementary
#A79823 #2374A7 #5623A7
monochromatic
#423C0E #746A18 #A79823 #D4C233 #DFD166

Accessibility & contrast

On white

2.93
#A79823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#A79823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79823
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79823#FFFFFF#000000##000000
##A798231.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79304
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#B48D82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a79823;
/* rgb */ color: rgb(167, 152, 35);
/* oklch */ color: oklch(67.3% 0.130 101.6);
Tailwind
colors: {
  custom: {
    50: '#c5b569',
    500: '#a79823',
    950: '#000000',
  },
}
SCSS
$custom: #a79823;
$custom-light: #c5b569;
$custom-dark: #000000;
JSON
{
  "hex": "#a79823",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 53.182,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67289,
    "c": 0.13007,
    "h": 101.6
  },
  "luminance": 0.30793
}

Semantic roles & 50–950 ramp

primary
#A79823
secondary
#616DC4
accent
#53E83F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79823

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

Preview Lab → · Contrast checker → · Palette generator →

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