#A5B336#A5B336

#A5B336 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.146 H 115.6°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#A5B336
RGBrgb(165, 179, 54)
HSLhsl(67, 54%, 46%)
HSVhsv(67, 70%, 70%)
CMYKcmyk(7.8%, 0%, 69.8%, 29.8%)
CIE-LABlab(69.83, -21.02, 58.95)
CIE-LCHlch(69.83, 62.58, 109.62°)
OKLaboklab(73.27% -0.0632 0.1317)
OKLCHoklch(73.27% 0.146 115.6)
XYZxyz(32.3038, 40.5064, 9.6061)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B336 #4436B3
analogous
#B38236 #A5B336 #66B336
triadic
#A5B336 #36A5B3 #B336A5
tetradic
#A5B336 #36B382 #4436B3 #B33666
square
#A5B336 #36B382 #4436B3 #B33666
split-complementary
#A5B336 #3666B3 #8236B3
monochromatic
#4E551A #7A8428 #A5B336 #C0CD59 #D2DB88

Accessibility & contrast

On white

2.31
#A5B336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#A5B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B336
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B336#FFFFFF#000000##000000
##A5B3361.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA22
Deuteranopia (green-blind)
#BEAC40
Tritanopia (blue-blind)
#AFA99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b336;
/* rgb */ color: rgb(165, 179, 54);
/* oklch */ color: oklch(73.3% 0.146 115.6);
Tailwind
colors: {
  custom: {
    50: '#c3c975',
    500: '#a5b336',
    950: '#000000',
  },
}
SCSS
$custom: #a5b336;
$custom-light: #c3c975;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b336",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 66.72,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73269,
    "c": 0.14612,
    "h": 115.6
  },
  "luminance": 0.40506
}

Semantic roles & 50–950 ramp

primary
#A5B336
secondary
#8780C5
accent
#4BDD5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B336

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

Preview Lab → · Contrast checker → · Palette generator →

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