#A5B134#A5B134

#A5B134 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.8% C 0.145 H 114.8°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#A5B134
RGBrgb(165, 177, 52)
HSLhsl(66, 55%, 45%)
HSVhsv(66, 71%, 69%)
CMYKcmyk(6.8%, 0%, 70.6%, 30.6%)
CIE-LABlab(69.25, -20.13, 59.12)
CIE-LCHlch(69.25, 62.45, 108.80°)
OKLaboklab(72.8% -0.061 0.1318)
OKLCHoklch(72.8% 0.145 114.8)
XYZxyz(31.8599, 39.6921, 9.2311)
Luminance0.3969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B134 #4034B1
analogous
#B17F34 #A5B134 #67B134
triadic
#A5B134 #34A5B1 #B134A5
tetradic
#A5B134 #34B17F #4034B1 #B13467
square
#A5B134 #34B17F #4034B1 #B13467
split-complementary
#A5B134 #3467B1 #7F34B1
monochromatic
#4D5218 #798226 #A5B134 #C2CD55 #D3DB84

Accessibility & contrast

On white

2.35
#A5B134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#A5B134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B134
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B134#FFFFFF#000000##000000
##A5B1341.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81F
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#B0A798
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b134;
/* rgb */ color: rgb(165, 177, 52);
/* oklch */ color: oklch(72.8% 0.145 114.8);
Tailwind
colors: {
  custom: {
    50: '#c3c874',
    500: '#a5b134',
    950: '#000000',
  },
}
SCSS
$custom: #a5b134;
$custom-light: #c3c874;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b134",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 65.76,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.728,
    "c": 0.14519,
    "h": 114.8
  },
  "luminance": 0.39692
}

Semantic roles & 50–950 ramp

primary
#A5B134
secondary
#837CC5
accent
#4ADE58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B134

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

Preview Lab → · Contrast checker → · Palette generator →

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