#A5B140#A5B140

#A5B140 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.137 H 115.0°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#A5B140
RGBrgb(165, 177, 64)
HSLhsl(66, 47%, 47%)
HSVhsv(66, 64%, 69%)
CMYKcmyk(6.8%, 0%, 63.8%, 30.6%)
CIE-LABlab(69.34, -19.40, 54.44)
CIE-LCHlch(69.34, 57.79, 109.61°)
OKLaboklab(72.9% -0.0577 0.1238)
OKLCHoklch(72.9% 0.137 115)
XYZxyz(32.1654, 39.8143, 10.8400)
Luminance0.3981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B140 #4C40B1
analogous
#B18540 #A5B140 #6CB140
triadic
#A5B140 #40A5B1 #B140A5
tetradic
#A5B140 #40B185 #4C40B1 #B1406C
square
#A5B140 #40B185 #4C40B1 #B1406C
split-complementary
#A5B140 #406CB1 #8540B1
monochromatic
#51571F #7B8430 #A5B140 #BDC866 #D1D893

Accessibility & contrast

On white

2.34
#A5B140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#A5B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B140
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B140#FFFFFF#000000##000000
##A5B1401.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#AFA79A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b140;
/* rgb */ color: rgb(165, 177, 64);
/* oklch */ color: oklch(72.9% 0.137 115.0);
Tailwind
colors: {
  custom: {
    50: '#c2c87a',
    500: '#a5b140',
    950: '#000000',
  },
}
SCSS
$custom: #a5b140;
$custom-light: #c2c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b140",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 66.372,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72898,
    "c": 0.13659,
    "h": 115
  },
  "luminance": 0.39814
}

Semantic roles & 50–950 ramp

primary
#A5B140
secondary
#8F89C3
accent
#51D75F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B140

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

Preview Lab → · Contrast checker → · Palette generator →

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