#A5A22F#A5A22F

#A5A22F is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.132 H 107.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A5A22F
RGBrgb(165, 162, 47)
HSLhsl(58, 56%, 42%)
HSVhsv(58, 72%, 65%)
CMYKcmyk(0%, 1.8%, 71.5%, 35.3%)
CIE-LABlab(65.00, -12.71, 56.82)
CIE-LCHlch(65.00, 58.23, 102.61°)
OKLaboklab(69.39% -0.0407 0.1261)
OKLCHoklch(69.39% 0.132 107.9)
XYZxyz(28.9516, 34.0462, 7.7353)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A22F #2F32A5
analogous
#A5672F #A5A22F #6DA52F
triadic
#A5A22F #2FA5A2 #A22FA5
tetradic
#A5A22F #2FA567 #2F32A5 #A52F6D
square
#A5A22F #2FA567 #2F32A5 #A52F6D
split-complementary
#A5A22F #2F6DA5 #672FA5
monochromatic
#464414 #757321 #A5A22F #CBC747 #D8D676

Accessibility & contrast

On white

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

On black

7.81
#A5A22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A22F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A22F#FFFFFF#000000##000000
##A5A22F1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B1B
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#B1978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a22f;
/* rgb */ color: rgb(165, 162, 47);
/* oklch */ color: oklch(69.4% 0.132 107.9);
Tailwind
colors: {
  custom: {
    50: '#c3bd6f',
    500: '#a5a22f',
    950: '#000000',
  },
}
SCSS
$custom: #a5a22f;
$custom-light: #c3bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a22f",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 58.475,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6939,
    "c": 0.13247,
    "h": 107.9
  },
  "luminance": 0.34045
}

Semantic roles & 50–950 ramp

primary
#A5A22F
secondary
#7072C0
accent
#4DDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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