#A5A12E#A5A12E

#A5A12E is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.132 H 107.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A5A12E
RGBrgb(165, 161, 46)
HSLhsl(58, 56%, 41%)
HSVhsv(58, 72%, 65%)
CMYKcmyk(0%, 2.4%, 72.1%, 35.3%)
CIE-LABlab(64.71, -12.24, 56.92)
CIE-LCHlch(64.71, 58.22, 102.14°)
OKLaboklab(69.16% -0.0395 0.1261)
OKLCHoklch(69.16% 0.132 107.4)
XYZxyz(28.7562, 33.6873, 7.5718)
Luminance0.3369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A12E #2E32A5
analogous
#A5662E #A5A12E #6EA52E
triadic
#A5A12E #2EA5A1 #A12EA5
tetradic
#A5A12E #2EA566 #2E32A5 #A52E6E
square
#A5A12E #2EA566 #2E32A5 #A52E6E
split-complementary
#A5A12E #2E6EA5 #662EA5
monochromatic
#454413 #757221 #A5A12E #CBC745 #D8D575

Accessibility & contrast

On white

2.71
#A5A12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A5A12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A12E
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A12E#FFFFFF#000000##000000
##A5A12E1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#B1968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a12e;
/* rgb */ color: rgb(165, 161, 46);
/* oklch */ color: oklch(69.2% 0.132 107.4);
Tailwind
colors: {
  custom: {
    50: '#c3bc6f',
    500: '#a5a12e',
    950: '#000000',
  },
}
SCSS
$custom: #a5a12e;
$custom-light: #c3bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a12e",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 57.983,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6916,
    "c": 0.13211,
    "h": 107.4
  },
  "luminance": 0.33686
}

Semantic roles & 50–950 ramp

primary
#A5A12E
secondary
#6F71C0
accent
#4DE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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