#A5B34F#A5B34F

#A5B34F is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.126 H 116.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A5B34F
RGBrgb(165, 179, 79)
HSLhsl(68, 40%, 51%)
HSVhsv(68, 56%, 70%)
CMYKcmyk(7.8%, 0%, 55.9%, 29.8%)
CIE-LABlab(70.04, -19.26, 48.54)
CIE-LCHlch(70.04, 52.22, 111.64°)
OKLaboklab(73.51% -0.0558 0.1132)
OKLCHoklch(73.51% 0.126 116.2)
XYZxyz(33.0490, 40.8044, 13.5307)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B34F #5D4FB3
analogous
#B38F4F #A5B34F #73B34F
triadic
#A5B34F #4FA5B3 #B34FA5
tetradic
#A5B34F #4FB38F #5D4FB3 #B34F73
square
#A5B34F #4FB38F #5D4FB3 #B34F73
split-complementary
#A5B34F #4F73B3 #8F4FB3
monochromatic
#575F29 #7F893B #A5B34F #BBC57A #D1D8A4

Accessibility & contrast

On white

2.29
#A5B34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A5B34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B34F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B34F#FFFFFF#000000##000000
##A5B34F1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB45
Deuteranopia (green-blind)
#BDAC55
Tritanopia (blue-blind)
#AEAA9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b34f;
/* rgb */ color: rgb(165, 179, 79);
/* oklch */ color: oklch(73.5% 0.126 116.2);
Tailwind
colors: {
  custom: {
    50: '#c2c984',
    500: '#a5b34f',
    950: '#000000',
  },
}
SCSS
$custom: #a5b34f;
$custom-light: #c2c984;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b34f",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 68.4,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73505,
    "c": 0.12617,
    "h": 116.2
  },
  "luminance": 0.40804
}

Semantic roles & 50–950 ramp

primary
#A5B34F
secondary
#9F99C5
accent
#58D069
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5B34F

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

Preview Lab → · Contrast checker → · Palette generator →

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