#A8A239#A8A239

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

Color values

HEX#A8A239
RGBrgb(168, 162, 57)
HSLhsl(57, 49%, 44%)
HSVhsv(57, 66%, 66%)
CMYKcmyk(0%, 3.6%, 66.1%, 34.1%)
CIE-LABlab(65.33, -10.84, 53.25)
CIE-LCHlch(65.33, 54.35, 101.51°)
OKLaboklab(69.74% -0.0346 0.1202)
OKLCHoklch(69.74% 0.125 106.1)
XYZxyz(29.8084, 34.4619, 8.9517)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A239 #393FA8
analogous
#A86B39 #A8A239 #77A839
triadic
#A8A239 #39A8A2 #A239A8
tetradic
#A8A239 #39A86B #393FA8 #A83977
square
#A8A239 #39A86B #393FA8 #A83977
split-complementary
#A8A239 #3977A8 #6B39A8
monochromatic
#4D4A1A #7A7629 #A8A239 #C6C058 #D6D186

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A239#FFFFFF#000000##000000
##A8A2391.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)
#B09C2B
Deuteranopia (green-blind)
#B2A140
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a239;
/* rgb */ color: rgb(168, 162, 57);
/* oklch */ color: oklch(69.7% 0.125 106.1);
Tailwind
colors: {
  custom: {
    50: '#c5bd75',
    500: '#a8a239',
    950: '#000000',
  },
}
SCSS
$custom: #a8a239;
$custom-light: #c5bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a239",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 56.757,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69737,
    "c": 0.12502,
    "h": 106.1
  },
  "luminance": 0.34461
}

Semantic roles & 50–950 ramp

primary
#A8A239
secondary
#7D81C0
accent
#56D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A239

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

Preview Lab → · Contrast checker → · Palette generator →

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