#A79838#A79838

#A79838 is a light, moderate yellow. Relative luminance 0.310; OKLCH L 67.4% C 0.116 H 100.4°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A79838
RGBrgb(167, 152, 56)
HSLhsl(52, 50%, 44%)
HSVhsv(52, 66%, 65%)
CMYKcmyk(0%, 9%, 66.5%, 34.5%)
CIE-LABlab(62.47, -6.03, 50.67)
CIE-LCHlch(62.47, 51.03, 96.79°)
OKLaboklab(67.44% -0.0209 0.1146)
OKLCHoklch(67.44% 0.116 100.4)
XYZxyz(27.8796, 30.9587, 8.2477)
Luminance0.3096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79838 #3847A7
analogous
#A76038 #A79838 #7EA738
triadic
#A79838 #38A798 #9838A7
tetradic
#A79838 #38A760 #3847A7 #A7387E
square
#A79838 #38A760 #3847A7 #A7387E
split-complementary
#A79838 #387EA7 #6038A7
monochromatic
#4B4519 #796E29 #A79838 #C6B756 #D6CB84

Accessibility & contrast

On white

2.92
#A79838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#A79838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79838
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79838#FFFFFF#000000##000000
##A798381.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942C
Deuteranopia (green-blind)
#AA9A3D
Tritanopia (blue-blind)
#B48D84
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a79838;
/* rgb */ color: rgb(167, 152, 56);
/* oklch */ color: oklch(67.4% 0.116 100.4);
Tailwind
colors: {
  custom: {
    50: '#c4b674',
    500: '#a79838',
    950: '#000000',
  },
}
SCSS
$custom: #a79838;
$custom-light: #c4b674;
$custom-dark: #000000;
JSON
{
  "hex": "#a79838",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 51.892,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67444,
    "c": 0.11647,
    "h": 100.4
  },
  "luminance": 0.30957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A79838

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

Preview Lab → · Contrast checker → · Palette generator →

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