#A5B85F#A5B85F

#A5B85F is a light, moderate yellow-green. Relative luminance 0.431; OKLCH L 74.8% C 0.117 H 119.2°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#A5B85F
RGBrgb(165, 184, 95)
HSLhsl(73, 39%, 55%)
HSVhsv(73, 48%, 72%)
CMYKcmyk(10.3%, 0%, 48.4%, 27.8%)
CIE-LABlab(71.63, -20.27, 42.73)
CIE-LCHlch(71.63, 47.29, 115.38°)
OKLaboklab(74.84% -0.0571 0.102)
OKLCHoklch(74.84% 0.117 119.2)
XYZxyz(34.7234, 43.1067, 17.3154)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B85F #725FB8
analogous
#B89F5F #A5B85F #79B85F
triadic
#A5B85F #5FA5B8 #B85FA5
tetradic
#A5B85F #5FB89F #725FB8 #B85F79
square
#A5B85F #5FB89F #725FB8 #B85F79
split-complementary
#A5B85F #5F79B8 #9F5FB8
monochromatic
#606C30 #859743 #A5B85F #BDCB89 #D5DEB4

Accessibility & contrast

On white

2.18
#A5B85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#A5B85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B85F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B85F#FFFFFF#000000##000000
##A5B85F1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF57
Deuteranopia (green-blind)
#C0B064
Tritanopia (blue-blind)
#ACB0A3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a5b85f;
/* rgb */ color: rgb(165, 184, 95);
/* oklch */ color: oklch(74.8% 0.117 119.2);
Tailwind
colors: {
  custom: {
    50: '#c1cd8e',
    500: '#a5b85f',
    950: '#000000',
  },
}
SCSS
$custom: #a5b85f;
$custom-light: #c1cd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b85f",
  "rgb": {
    "r": 165,
    "g": 184,
    "b": 95
  },
  "hsl": {
    "h": 72.809,
    "s": 38.528,
    "l": 54.706
  },
  "oklch": {
    "l": 0.74836,
    "c": 0.11689,
    "h": 119.2
  },
  "luminance": 0.43107
}

Semantic roles & 50–950 ramp

primary
#A5B85F
secondary
#AFA7CC
accent
#59CE72
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #A5B85F

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

Preview Lab → · Contrast checker → · Palette generator →

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