#A5B334#A5B334

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

Color values

HEX#A5B334
RGBrgb(165, 179, 52)
HSLhsl(67, 55%, 45%)
HSVhsv(67, 71%, 70%)
CMYKcmyk(7.8%, 0%, 70.9%, 29.8%)
CIE-LABlab(69.82, -21.13, 59.68)
CIE-LCHlch(69.82, 63.31, 109.50°)
OKLaboklab(73.25% -0.0637 0.1329)
OKLCHoklch(73.25% 0.147 115.6)
XYZxyz(32.2578, 40.4880, 9.3638)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B334 #4234B3
analogous
#B38134 #A5B334 #66B334
triadic
#A5B334 #34A5B3 #B334A5
tetradic
#A5B334 #34B381 #4234B3 #B33466
square
#A5B334 #34B381 #4234B3 #B33466
split-complementary
#A5B334 #3466B3 #8134B3
monochromatic
#4E5418 #798426 #A5B334 #C1CE56 #D2DC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B334#FFFFFF#000000##000000
##A5B3341.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)
#C0AA1E
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b334;
/* rgb */ color: rgb(165, 179, 52);
/* oklch */ color: oklch(73.3% 0.147 115.6);
Tailwind
colors: {
  custom: {
    50: '#c3c974',
    500: '#a5b334',
    950: '#000000',
  },
}
SCSS
$custom: #a5b334;
$custom-light: #c3c974;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b334",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 66.614,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73254,
    "c": 0.14743,
    "h": 115.6
  },
  "luminance": 0.40487
}

Semantic roles & 50–950 ramp

primary
#A5B334
secondary
#857DC5
accent
#49DE5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B334

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

Preview Lab → · Contrast checker → · Palette generator →

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