#A8A237#A8A237

#A8A237 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.127 H 106.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A8A237
RGBrgb(168, 162, 55)
HSLhsl(57, 51%, 44%)
HSVhsv(57, 67%, 66%)
CMYKcmyk(0%, 3.6%, 67.3%, 34.1%)
CIE-LABlab(65.31, -10.96, 54.07)
CIE-LCHlch(65.31, 55.17, 101.46°)
OKLaboklab(69.72% -0.0351 0.1215)
OKLCHoklch(69.72% 0.127 106.1)
XYZxyz(29.7595, 34.4424, 8.6941)
Luminance0.3444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A237 #373DA8
analogous
#A86937 #A8A237 #75A837
triadic
#A8A237 #37A8A2 #A237A8
tetradic
#A8A237 #37A869 #373DA8 #A83775
square
#A8A237 #37A869 #373DA8 #A83775
split-complementary
#A8A237 #3775A8 #6937A8
monochromatic
#4C4919 #7A7628 #A8A237 #C7C155 #D6D283

Accessibility & contrast

On white

2.66
#A8A237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A8A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A237
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A237#FFFFFF#000000##000000
##A8A2371.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C28
Deuteranopia (green-blind)
#B2A13E
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a237;
/* rgb */ color: rgb(168, 162, 55);
/* oklch */ color: oklch(69.7% 0.127 106.1);
Tailwind
colors: {
  custom: {
    50: '#c5bd74',
    500: '#a8a237',
    950: '#000000',
  },
}
SCSS
$custom: #a8a237;
$custom-light: #c5bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a237",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 56.814,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6972,
    "c": 0.12652,
    "h": 106.1
  },
  "luminance": 0.34441
}

Semantic roles & 50–950 ramp

primary
#A8A237
secondary
#7B7EC0
accent
#55DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A237

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

Preview Lab → · Contrast checker → · Palette generator →

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