#A79138#A79138

#A79138 is a light, moderate yellow. Relative luminance 0.288; OKLCH L 65.9% C 0.111 H 95.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A79138
RGBrgb(167, 145, 56)
HSLhsl(48, 50%, 44%)
HSVhsv(48, 66%, 65%)
CMYKcmyk(0%, 13.2%, 66.5%, 34.5%)
CIE-LABlab(60.56, -2.24, 48.66)
CIE-LCHlch(60.56, 48.71, 92.63°)
OKLaboklab(65.93% -0.0101 0.1103)
OKLCHoklch(65.93% 0.111 95.2)
XYZxyz(26.7768, 28.7532, 7.8801)
Luminance0.2875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79138 #384EA7
analogous
#A75938 #A79138 #85A738
triadic
#A79138 #38A791 #9138A7
tetradic
#A79138 #38A759 #384EA7 #A73885
square
#A79138 #38A759 #384EA7 #A73885
split-complementary
#A79138 #3885A7 #5938A7
monochromatic
#4B4119 #796929 #A79138 #C6B056 #D6C584

Accessibility & contrast

On white

3.11
#A79138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#A79138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79138
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79138#FFFFFF#000000##000000
##A791381.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2D
Deuteranopia (green-blind)
#A5953C
Tritanopia (blue-blind)
#B4867E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a79138;
/* rgb */ color: rgb(167, 145, 56);
/* oklch */ color: oklch(65.9% 0.111 95.2);
Tailwind
colors: {
  custom: {
    50: '#c4b073',
    500: '#a79138',
    950: '#000000',
  },
}
SCSS
$custom: #a79138;
$custom-light: #c4b073;
$custom-dark: #000000;
JSON
{
  "hex": "#a79138",
  "rgb": {
    "r": 167,
    "g": 145,
    "b": 56
  },
  "hsl": {
    "h": 48.108,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.65931,
    "c": 0.11076,
    "h": 95.2
  },
  "luminance": 0.28752
}

Semantic roles & 50–950 ramp

primary
#A79138
secondary
#7B89BF
accent
#6AD94F
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#131008
muted
#827F7B

Preview Lab

Preview with #A79138

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

Preview Lab → · Contrast checker → · Palette generator →

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