#A5A239#A5A239

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

Color values

HEX#A5A239
RGBrgb(165, 162, 57)
HSLhsl(58, 49%, 44%)
HSVhsv(58, 65%, 65%)
CMYKcmyk(0%, 1.8%, 65.5%, 35.3%)
CIE-LABlab(65.07, -12.15, 52.91)
CIE-LCHlch(65.07, 54.29, 102.94°)
OKLaboklab(69.47% -0.0381 0.1195)
OKLCHoklch(69.47% 0.125 107.7)
XYZxyz(29.1769, 34.1363, 8.9221)
Luminance0.3413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A239 #393CA5
analogous
#A56C39 #A5A239 #72A539
triadic
#A5A239 #39A5A2 #A239A5
tetradic
#A5A239 #39A56C #393CA5 #A53972
square
#A5A239 #39A56C #393CA5 #A53972
split-complementary
#A5A239 #3972A5 #6C39A5
monochromatic
#4A491A #787529 #A5A239 #C5C256 #D4D284

Accessibility & contrast

On white

2.68
#A5A239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#A5A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A239
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A239#FFFFFF#000000##000000
##A5A2391.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2B
Deuteranopia (green-blind)
#B1A040
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a239;
/* rgb */ color: rgb(165, 162, 57);
/* oklch */ color: oklch(69.5% 0.125 107.7);
Tailwind
colors: {
  custom: {
    50: '#c3bd75',
    500: '#a5a239',
    950: '#000000',
  },
}
SCSS
$custom: #a5a239;
$custom-light: #c3bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a239",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 58.333,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.6947,
    "c": 0.12542,
    "h": 107.7
  },
  "luminance": 0.34135
}

Semantic roles & 50–950 ramp

primary
#A5A239
secondary
#7B7DBE
accent
#53D850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A5A239

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

Preview Lab → · Contrast checker → · Palette generator →

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