#A79B1F#A79B1F

#A79B1F is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.9% C 0.135 H 103.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A79B1F
RGBrgb(167, 155, 31)
HSLhsl(55, 69%, 39%)
HSVhsv(55, 81%, 65%)
CMYKcmyk(0%, 7.2%, 81.4%, 34.5%)
CIE-LABlab(63.14, -8.81, 60.53)
CIE-LCHlch(63.14, 61.17, 98.28°)
OKLaboklab(67.93% -0.0314 0.1308)
OKLCHoklch(67.93% 0.135 103.5)
XYZxyz(27.9063, 31.7583, 5.9561)
Luminance0.3176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79B1F #1F2BA7
analogous
#A7571F #A79B1F #6FA71F
triadic
#A79B1F #1FA79B #9B1FA7
tetradic
#A79B1F #1FA757 #1F2BA7 #A71F6F
square
#A79B1F #1FA757 #1F2BA7 #A71F6F
split-complementary
#A79B1F #1F6FA7 #571FA7
monochromatic
#403B0C #736B15 #A79B1F #D8C92B #E1D65F

Accessibility & contrast

On white

2.86
#A79B1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#A79B1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79B1F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79B1F#FFFFFF#000000##000000
##A79B1F1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AE9B2A
Tritanopia (blue-blind)
#B49084
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a79b1f;
/* rgb */ color: rgb(167, 155, 31);
/* oklch */ color: oklch(67.9% 0.135 103.5);
Tailwind
colors: {
  custom: {
    50: '#c5b867',
    500: '#a79b1f',
    950: '#000000',
  },
}
SCSS
$custom: #a79b1f;
$custom-light: #c5b867;
$custom-dark: #000000;
JSON
{
  "hex": "#a79b1f",
  "rgb": {
    "r": 167,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 54.706,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67926,
    "c": 0.13452,
    "h": 103.5
  },
  "luminance": 0.31757
}

Semantic roles & 50–950 ramp

primary
#A79B1F
secondary
#5C65C6
accent
#4CEC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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