#A5B148#A5B148

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

Color values

HEX#A5B148
RGBrgb(165, 177, 72)
HSLhsl(67, 42%, 49%)
HSVhsv(67, 59%, 69%)
CMYKcmyk(6.8%, 0%, 59.3%, 30.6%)
CIE-LABlab(69.41, -18.82, 51.03)
CIE-LCHlch(69.41, 54.39, 110.24°)
OKLaboklab(72.98% -0.0553 0.1177)
OKLCHoklch(72.98% 0.13 115.2)
XYZxyz(32.4096, 39.9120, 12.1261)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B148 #5448B1
analogous
#B18948 #A5B148 #71B148
triadic
#A5B148 #48A5B1 #B148A5
tetradic
#A5B148 #48B189 #5448B1 #B14871
square
#A5B148 #48B189 #5448B1 #B14871
split-complementary
#A5B148 #4871B1 #8948B1
monochromatic
#545A25 #7C8536 #A5B148 #BCC571 #D0D79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B148#FFFFFF#000000##000000
##A5B1481.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)
#BDA93C
Deuteranopia (green-blind)
#BCAA4F
Tritanopia (blue-blind)
#AFA89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b148;
/* rgb */ color: rgb(165, 177, 72);
/* oklch */ color: oklch(73.0% 0.130 115.2);
Tailwind
colors: {
  custom: {
    50: '#c2c87f',
    500: '#a5b148',
    950: '#000000',
  },
}
SCSS
$custom: #a5b148;
$custom-light: #c2c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b148",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 66.857,
    "s": 42.169,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72977,
    "c": 0.12999,
    "h": 115.2
  },
  "luminance": 0.39911
}

Semantic roles & 50–950 ramp

primary
#A5B148
secondary
#9791C3
accent
#56D264
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B148

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

Preview Lab → · Contrast checker → · Palette generator →

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