#A5B249#A5B249

#A5B249 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.130 H 115.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#A5B249
RGBrgb(165, 178, 73)
HSLhsl(67, 42%, 49%)
HSVhsv(67, 59%, 70%)
CMYKcmyk(7.3%, 0%, 59%, 30.2%)
CIE-LABlab(69.70, -19.25, 50.90)
CIE-LCHlch(69.70, 54.42, 110.71°)
OKLaboklab(73.21% -0.0564 0.1175)
OKLCHoklch(73.21% 0.13 115.6)
XYZxyz(32.6407, 40.3216, 12.3654)
Luminance0.4032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B249 #5649B2
analogous
#B28B49 #A5B249 #70B249
triadic
#A5B249 #49A5B2 #B249A5
tetradic
#A5B249 #49B28B #5649B2 #B24970
square
#A5B249 #49B28B #5649B2 #B24970
split-complementary
#A5B249 #4970B2 #8B49B2
monochromatic
#555B25 #7D8737 #A5B249 #BBC573 #D0D79E

Accessibility & contrast

On white

2.32
#A5B249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#A5B249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B249
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B249#FFFFFF#000000##000000
##A5B2491.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3D
Deuteranopia (green-blind)
#BDAB50
Tritanopia (blue-blind)
#AFA99B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b249;
/* rgb */ color: rgb(165, 178, 73);
/* oklch */ color: oklch(73.2% 0.130 115.6);
Tailwind
colors: {
  custom: {
    50: '#c2c980',
    500: '#a5b249',
    950: '#000000',
  },
}
SCSS
$custom: #a5b249;
$custom-light: #c2c980;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b249",
  "rgb": {
    "r": 165,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 67.429,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73213,
    "c": 0.13033,
    "h": 115.6
  },
  "luminance": 0.40321
}

Semantic roles & 50–950 ramp

primary
#A5B249
secondary
#9993C4
accent
#56D265
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B249

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

Preview Lab → · Contrast checker → · Palette generator →

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