#A5B147#A5B147

#A5B147 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.131 H 115.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#A5B147
RGBrgb(165, 177, 71)
HSLhsl(67, 43%, 49%)
HSVhsv(67, 60%, 69%)
CMYKcmyk(6.8%, 0%, 59.9%, 30.6%)
CIE-LABlab(69.40, -18.90, 51.47)
CIE-LCHlch(69.40, 54.83, 110.16°)
OKLaboklab(72.97% -0.0556 0.1185)
OKLCHoklch(72.97% 0.131 115.1)
XYZxyz(32.3772, 39.8990, 11.9557)
Luminance0.3990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B147 #5347B1
analogous
#B18847 #A5B147 #70B147
triadic
#A5B147 #47A5B1 #B147A5
tetradic
#A5B147 #47B188 #5347B1 #B14770
square
#A5B147 #47B188 #5347B1 #B14770
split-complementary
#A5B147 #4770B1 #8847B1
monochromatic
#545A24 #7C8535 #A5B147 #BCC670 #D0D79B

Accessibility & contrast

On white

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

On black

8.98
#A5B147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B147
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B147#FFFFFF#000000##000000
##A5B1471.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93B
Deuteranopia (green-blind)
#BCAA4E
Tritanopia (blue-blind)
#AFA89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b147;
/* rgb */ color: rgb(165, 177, 71);
/* oklch */ color: oklch(73.0% 0.131 115.1);
Tailwind
colors: {
  custom: {
    50: '#c2c87e',
    500: '#a5b147',
    950: '#000000',
  },
}
SCSS
$custom: #a5b147;
$custom-light: #c2c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b147",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 66.792,
    "s": 42.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72966,
    "c": 0.13085,
    "h": 115.1
  },
  "luminance": 0.39899
}

Semantic roles & 50–950 ramp

primary
#A5B147
secondary
#9690C3
accent
#55D363
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B147

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

Preview Lab → · Contrast checker → · Palette generator →

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