#A79223#A79223

#A79223 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 66.0% C 0.125 H 97.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A79223
RGBrgb(167, 146, 35)
HSLhsl(50, 65%, 40%)
HSVhsv(50, 79%, 65%)
CMYKcmyk(0%, 12.6%, 79%, 34.5%)
CIE-LABlab(60.69, -3.83, 57.10)
CIE-LCHlch(60.69, 57.23, 93.84°)
OKLaboklab(65.99% -0.017 0.1242)
OKLCHoklch(65.99% 0.125 97.8)
XYZxyz(26.5200, 28.8960, 5.7704)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79223 #2338A7
analogous
#A75023 #A79223 #7AA723
triadic
#A79223 #23A792 #9223A7
tetradic
#A79223 #23A750 #2338A7 #A7237A
square
#A79223 #23A750 #2338A7 #A7237A
split-complementary
#A79223 #237AA7 #5023A7
monochromatic
#423A0E #746618 #A79223 #D4BB33 #DFCC66

Accessibility & contrast

On white

3.10
#A79223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#A79223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79223
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79223#FFFFFF#000000##000000
##A792231.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E08
Deuteranopia (green-blind)
#A7952B
Tritanopia (blue-blind)
#B5867D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a79223;
/* rgb */ color: rgb(167, 146, 35);
/* oklch */ color: oklch(66.0% 0.125 97.8);
Tailwind
colors: {
  custom: {
    50: '#c5b168',
    500: '#a79223',
    950: '#000000',
  },
}
SCSS
$custom: #a79223;
$custom-light: #c5b168;
$custom-dark: #000000;
JSON
{
  "hex": "#a79223",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 50.455,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65985,
    "c": 0.1254,
    "h": 97.8
  },
  "luminance": 0.28895
}

Semantic roles & 50–950 ramp

primary
#A79223
secondary
#6171C4
accent
#5AE83F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A79223

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

Preview Lab → · Contrast checker → · Palette generator →

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