#A79C23#A79C23

#A79C23 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.2% C 0.133 H 103.9°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A79C23
RGBrgb(167, 156, 35)
HSLhsl(55, 65%, 40%)
HSVhsv(55, 79%, 65%)
CMYKcmyk(0%, 6.6%, 79%, 34.5%)
CIE-LABlab(63.44, -9.20, 59.58)
CIE-LCHlch(63.44, 60.28, 98.78°)
OKLaboklab(68.17% -0.0321 0.1296)
OKLCHoklch(68.17% 0.133 103.9)
XYZxyz(28.1295, 32.1150, 6.3069)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79C23 #232EA7
analogous
#A75A23 #A79C23 #70A723
triadic
#A79C23 #23A79C #9C23A7
tetradic
#A79C23 #23A75A #232EA7 #A72370
square
#A79C23 #23A75A #232EA7 #A72370
split-complementary
#A79C23 #2370A7 #5A23A7
monochromatic
#423D0E #746D18 #A79C23 #D4C733 #DFD566

Accessibility & contrast

On white

2.83
#A79C23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#A79C23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79C23
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79C23#FFFFFF#000000##000000
##A79C231.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9701
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#B49186
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a79c23;
/* rgb */ color: rgb(167, 156, 35);
/* oklch */ color: oklch(68.2% 0.133 103.9);
Tailwind
colors: {
  custom: {
    50: '#c5b869',
    500: '#a79c23',
    950: '#000000',
  },
}
SCSS
$custom: #a79c23;
$custom-light: #c5b869;
$custom-dark: #000000;
JSON
{
  "hex": "#a79c23",
  "rgb": {
    "r": 167,
    "g": 156,
    "b": 35
  },
  "hsl": {
    "h": 55,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68167,
    "c": 0.13347,
    "h": 103.9
  },
  "luminance": 0.32114
}

Semantic roles & 50–950 ramp

primary
#A79C23
secondary
#616AC4
accent
#4EE83F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79C23

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

Preview Lab → · Contrast checker → · Palette generator →

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