#A5B248#A5B248

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

Color values

HEX#A5B248
RGBrgb(165, 178, 72)
HSLhsl(67, 42%, 49%)
HSVhsv(67, 60%, 70%)
CMYKcmyk(7.3%, 0%, 59.6%, 30.2%)
CIE-LABlab(69.69, -19.32, 51.34)
CIE-LCHlch(69.69, 54.86, 110.63°)
OKLaboklab(73.2% -0.0567 0.1183)
OKLCHoklch(73.2% 0.131 115.6)
XYZxyz(32.6078, 40.3085, 12.1922)
Luminance0.4031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B248 #5548B2
analogous
#B28A48 #A5B248 #70B248
triadic
#A5B248 #48A5B2 #B248A5
tetradic
#A5B248 #48B28A #5548B2 #B24870
square
#A5B248 #48B28A #5548B2 #B24870
split-complementary
#A5B248 #4870B2 #8A48B2
monochromatic
#545B25 #7D8636 #A5B248 #BBC671 #D0D79D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B248#FFFFFF#000000##000000
##A5B2481.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)
#BEAA3C
Deuteranopia (green-blind)
#BDAB4F
Tritanopia (blue-blind)
#AFA99B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b248;
/* rgb */ color: rgb(165, 178, 72);
/* oklch */ color: oklch(73.2% 0.131 115.6);
Tailwind
colors: {
  custom: {
    50: '#c2c97f',
    500: '#a5b248',
    950: '#000000',
  },
}
SCSS
$custom: #a5b248;
$custom-light: #c2c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b248",
  "rgb": {
    "r": 165,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 67.358,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73202,
    "c": 0.1312,
    "h": 115.6
  },
  "luminance": 0.40308
}

Semantic roles & 50–950 ramp

primary
#A5B248
secondary
#9892C4
accent
#56D265
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B248

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

Preview Lab → · Contrast checker → · Palette generator →

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