#A5B751#A5B751

#A5B751 is a light, vivid yellow-green. Relative luminance 0.425; OKLCH L 74.4% C 0.129 H 118.0°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#A5B751
RGBrgb(165, 183, 81)
HSLhsl(71, 41%, 52%)
HSVhsv(71, 56%, 72%)
CMYKcmyk(9.8%, 0%, 55.7%, 28.2%)
CIE-LABlab(71.19, -21.09, 48.92)
CIE-LCHlch(71.19, 53.27, 113.32°)
OKLaboklab(74.43% -0.0607 0.1142)
OKLCHoklch(74.43% 0.129 118)
XYZxyz(33.9362, 42.4607, 14.1909)
Luminance0.4246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B751 #6351B7
analogous
#B79651 #A5B751 #72B751
triadic
#A5B751 #51A5B7 #B751A5
tetradic
#A5B751 #51B796 #6351B7 #B75172
square
#A5B751 #51B796 #6351B7 #B75172
split-complementary
#A5B751 #5172B7 #9651B7
monochromatic
#5A6429 #818F3B #A5B751 #BBC97C #D2DBA8

Accessibility & contrast

On white

2.21
#A5B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#A5B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B751
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B751#FFFFFF#000000##000000
##A5B7511.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE47
Deuteranopia (green-blind)
#C0AF57
Tritanopia (blue-blind)
#AEAEA1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b751;
/* rgb */ color: rgb(165, 183, 81);
/* oklch */ color: oklch(74.4% 0.129 118.0);
Tailwind
colors: {
  custom: {
    50: '#c2cc85',
    500: '#a5b751',
    950: '#000000',
  },
}
SCSS
$custom: #a5b751;
$custom-light: #c2cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b751",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 70.588,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74432,
    "c": 0.12935,
    "h": 118
  },
  "luminance": 0.4246
}

Semantic roles & 50–950 ramp

primary
#A5B751
secondary
#A39CC8
accent
#57D16C
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5B751

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

Preview Lab → · Contrast checker → · Palette generator →

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