#A79F23#A79F23

#A79F23 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.8% C 0.136 H 105.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#A79F23
RGBrgb(167, 159, 35)
HSLhsl(56, 65%, 40%)
HSVhsv(56, 79%, 65%)
CMYKcmyk(0%, 4.8%, 79%, 34.5%)
CIE-LABlab(64.27, -10.78, 60.32)
CIE-LCHlch(64.27, 61.28, 100.14°)
OKLaboklab(68.83% -0.0365 0.1312)
OKLCHoklch(68.83% 0.136 105.6)
XYZxyz(28.6391, 33.1342, 6.4768)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79F23 #232BA7
analogous
#A75D23 #A79F23 #6DA723
triadic
#A79F23 #23A79F #9F23A7
tetradic
#A79F23 #23A75D #232BA7 #A7236D
square
#A79F23 #23A75D #232BA7 #A7236D
split-complementary
#A79F23 #236DA7 #5D23A7
monochromatic
#423F0E #746F18 #A79F23 #D4CA33 #DFD766

Accessibility & contrast

On white

2.75
#A79F23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#A79F23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79F23
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79F23#FFFFFF#000000##000000
##A79F231.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#B09E2D
Tritanopia (blue-blind)
#B49488
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a79f23;
/* rgb */ color: rgb(167, 159, 35);
/* oklch */ color: oklch(68.8% 0.136 105.6);
Tailwind
colors: {
  custom: {
    50: '#c5bb69',
    500: '#a79f23',
    950: '#000000',
  },
}
SCSS
$custom: #a79f23;
$custom-light: #c5bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#a79f23",
  "rgb": {
    "r": 167,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 56.364,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68829,
    "c": 0.13615,
    "h": 105.6
  },
  "luminance": 0.33133
}

Semantic roles & 50–950 ramp

primary
#A79F23
secondary
#6167C4
accent
#4AE83F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79F23

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

Preview Lab → · Contrast checker → · Palette generator →

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