#A5BD2F#A5BD2F

#A5BD2F is a light, vivid yellow-green. Relative luminance 0.446; OKLCH L 75.5% C 0.162 H 119.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#A5BD2F
RGBrgb(165, 189, 47)
HSLhsl(70, 60%, 46%)
HSVhsv(70, 75%, 74%)
CMYKcmyk(12.7%, 0%, 75.1%, 25.9%)
CIE-LABlab(72.63, -26.29, 64.12)
CIE-LCHlch(72.63, 69.30, 112.29°)
OKLaboklab(75.51% -0.0785 0.1415)
OKLCHoklch(75.51% 0.162 119)
XYZxyz(34.2285, 44.6000, 9.4943)
Luminance0.4460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BD2F #472FBD
analogous
#BD8E2F #A5BD2F #5EBD2F
triadic
#A5BD2F #2FA5BD #BD2FA5
tetradic
#A5BD2F #2FBD8E #472FBD #BD2F5E
square
#A5BD2F #2FBD8E #472FBD #BD2F5E
split-complementary
#A5BD2F #2F5EBD #8E2FBD
monochromatic
#4F5B17 #7A8C23 #A5BD2F #BFD555 #D1E186

Accessibility & contrast

On white

2.12
#A5BD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#A5BD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BD2F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BD2F#FFFFFF#000000##000000
##A5BD2F1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B20D
Deuteranopia (green-blind)
#C7B33C
Tritanopia (blue-blind)
#AFB3A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a5bd2f;
/* rgb */ color: rgb(165, 189, 47);
/* oklch */ color: oklch(75.5% 0.162 119.0);
Tailwind
colors: {
  custom: {
    50: '#c3d073',
    500: '#a5bd2f',
    950: '#000000',
  },
}
SCSS
$custom: #a5bd2f;
$custom-light: #c3d073;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bd2f",
  "rgb": {
    "r": 165,
    "g": 189,
    "b": 47
  },
  "hsl": {
    "h": 70.141,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75506,
    "c": 0.16176,
    "h": 119
  },
  "luminance": 0.446
}

Semantic roles & 50–950 ramp

primary
#A5BD2F
secondary
#8B7ECA
accent
#44E35F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A5BD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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