#A8A137#A8A137

#A8A137 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.126 H 105.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A8A137
RGBrgb(168, 161, 55)
HSLhsl(56, 51%, 44%)
HSVhsv(56, 67%, 66%)
CMYKcmyk(0%, 4.2%, 67.3%, 34.1%)
CIE-LABlab(65.04, -10.44, 53.79)
CIE-LCHlch(65.04, 54.79, 100.98°)
OKLaboklab(69.5% -0.0336 0.1209)
OKLCHoklch(69.5% 0.126 105.5)
XYZxyz(29.5840, 34.0915, 8.6356)
Luminance0.3409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A137 #373EA8
analogous
#A86837 #A8A137 #76A837
triadic
#A8A137 #37A8A1 #A137A8
tetradic
#A8A137 #37A868 #373EA8 #A83776
square
#A8A137 #37A868 #373EA8 #A83776
split-complementary
#A8A137 #3776A8 #6837A8
monochromatic
#4C4919 #7A7528 #A8A137 #C7C055 #D6D183

Accessibility & contrast

On white

2.69
#A8A137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#A8A137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A137
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A137#FFFFFF#000000##000000
##A8A1371.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B28
Deuteranopia (green-blind)
#B1A03E
Tritanopia (blue-blind)
#B4968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a137;
/* rgb */ color: rgb(168, 161, 55);
/* oklch */ color: oklch(69.5% 0.126 105.5);
Tailwind
colors: {
  custom: {
    50: '#c5bc74',
    500: '#a8a137',
    950: '#000000',
  },
}
SCSS
$custom: #a8a137;
$custom-light: #c5bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a137",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 56.283,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69499,
    "c": 0.12553,
    "h": 105.5
  },
  "luminance": 0.3409
}

Semantic roles & 50–950 ramp

primary
#A8A137
secondary
#7B7FC0
accent
#56DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A137

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

Preview Lab → · Contrast checker → · Palette generator →

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