#A5B335#A5B335

#A5B335 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#A5B335
RGBrgb(165, 179, 53)
HSLhsl(67, 54%, 45%)
HSVhsv(67, 70%, 70%)
CMYKcmyk(7.8%, 0%, 70.4%, 29.8%)
CIE-LABlab(69.82, -21.07, 59.31)
CIE-LCHlch(69.82, 62.95, 109.56°)
OKLaboklab(73.26% -0.0635 0.1323)
OKLCHoklch(73.26% 0.147 115.6)
XYZxyz(32.2806, 40.4971, 9.4837)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B335 #4335B3
analogous
#B38235 #A5B335 #66B335
triadic
#A5B335 #35A5B3 #B335A5
tetradic
#A5B335 #35B382 #4335B3 #B33566
square
#A5B335 #35B382 #4335B3 #B33566
split-complementary
#A5B335 #3566B3 #8235B3
monochromatic
#4E5519 #798427 #A5B335 #C0CD58 #D2DB87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B335#FFFFFF#000000##000000
##A5B3351.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)
#C0AA20
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b335;
/* rgb */ color: rgb(165, 179, 53);
/* oklch */ color: oklch(73.3% 0.147 115.6);
Tailwind
colors: {
  custom: {
    50: '#c3c974',
    500: '#a5b335',
    950: '#000000',
  },
}
SCSS
$custom: #a5b335;
$custom-light: #c3c974;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b335",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 66.667,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73262,
    "c": 0.14678,
    "h": 115.6
  },
  "luminance": 0.40497
}

Semantic roles & 50–950 ramp

primary
#A5B335
secondary
#867FC5
accent
#4ADE5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B335

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

Preview Lab → · Contrast checker → · Palette generator →

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