#A5A237#A5A237

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

Color values

HEX#A5A237
RGBrgb(165, 162, 55)
HSLhsl(58, 50%, 43%)
HSVhsv(58, 67%, 65%)
CMYKcmyk(0%, 1.8%, 66.7%, 35.3%)
CIE-LABlab(65.06, -12.27, 53.73)
CIE-LCHlch(65.06, 55.11, 102.87°)
OKLaboklab(69.45% -0.0386 0.1209)
OKLCHoklch(69.45% 0.127 107.7)
XYZxyz(29.1280, 34.1167, 8.6645)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A237 #373AA5
analogous
#A56B37 #A5A237 #71A537
triadic
#A5A237 #37A5A2 #A237A5
tetradic
#A5A237 #37A56B #373AA5 #A53771
square
#A5A237 #37A56B #373AA5 #A53771
split-complementary
#A5A237 #3771A5 #6B37A5
monochromatic
#494818 #777528 #A5A237 #C6C353 #D5D381

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A237#FFFFFF#000000##000000
##A5A2371.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5a237;
/* rgb */ color: rgb(165, 162, 55);
/* oklch */ color: oklch(69.5% 0.127 107.7);
Tailwind
colors: {
  custom: {
    50: '#c3bd74',
    500: '#a5a237',
    950: '#000000',
  },
}
SCSS
$custom: #a5a237;
$custom-light: #c3bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a237",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 58.364,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.12693,
    "h": 107.7
  },
  "luminance": 0.34116
}

Semantic roles & 50–950 ramp

primary
#A5A237
secondary
#797BBF
accent
#52DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A237

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

Preview Lab → · Contrast checker → · Palette generator →

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