#A79738#A79738

#A79738 is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.2% C 0.116 H 99.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A79738
RGBrgb(167, 151, 56)
HSLhsl(51, 50%, 44%)
HSVhsv(51, 66%, 65%)
CMYKcmyk(0%, 9.6%, 66.5%, 34.5%)
CIE-LABlab(62.20, -5.49, 50.39)
CIE-LCHlch(62.20, 50.69, 96.22°)
OKLaboklab(67.23% -0.0194 0.114)
OKLCHoklch(67.23% 0.116 99.7)
XYZxyz(27.7180, 30.6355, 8.1938)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79738 #3848A7
analogous
#A75F38 #A79738 #7FA738
triadic
#A79738 #38A797 #9738A7
tetradic
#A79738 #38A75F #3848A7 #A7387F
square
#A79738 #38A75F #3848A7 #A7387F
split-complementary
#A79738 #387FA7 #5F38A7
monochromatic
#4B4419 #796E29 #A79738 #C6B656 #D6CA84

Accessibility & contrast

On white

2.95
#A79738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#A79738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79738
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79738#FFFFFF#000000##000000
##A797381.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932C
Deuteranopia (green-blind)
#A9993D
Tritanopia (blue-blind)
#B48C83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a79738;
/* rgb */ color: rgb(167, 151, 56);
/* oklch */ color: oklch(67.2% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#c4b573',
    500: '#a79738',
    950: '#000000',
  },
}
SCSS
$custom: #a79738;
$custom-light: #c4b573;
$custom-dark: #000000;
JSON
{
  "hex": "#a79738",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 56
  },
  "hsl": {
    "h": 51.351,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67226,
    "c": 0.1156,
    "h": 99.7
  },
  "luminance": 0.30634
}

Semantic roles & 50–950 ramp

primary
#A79738
secondary
#7B85BF
accent
#63D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A79738

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

Preview Lab → · Contrast checker → · Palette generator →

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