#A8B248#A8B248

#A8B248 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.130 H 114.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#A8B248
RGBrgb(168, 178, 72)
HSLhsl(66, 42%, 49%)
HSVhsv(66, 60%, 70%)
CMYKcmyk(5.6%, 0%, 59.6%, 30.2%)
CIE-LABlab(69.92, -18.07, 51.66)
CIE-LCHlch(69.92, 54.73, 109.28°)
OKLaboklab(73.44% -0.0533 0.1189)
OKLCHoklch(73.44% 0.13 114.2)
XYZxyz(33.2393, 40.6341, 12.2218)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B248 #5248B2
analogous
#B28748 #A8B248 #73B248
triadic
#A8B248 #48A8B2 #B248A8
tetradic
#A8B248 #48B287 #5248B2 #B24873
square
#A8B248 #48B287 #5248B2 #B24873
split-complementary
#A8B248 #4873B2 #8748B2
monochromatic
#565B25 #7F8636 #A8B248 #BEC671 #D2D79D

Accessibility & contrast

On white

2.30
#A8B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#A8B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B248
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B248#FFFFFF#000000##000000
##A8B2481.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3C
Deuteranopia (green-blind)
#BEAC4F
Tritanopia (blue-blind)
#B2A89B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b248;
/* rgb */ color: rgb(168, 178, 72);
/* oklch */ color: oklch(73.4% 0.130 114.2);
Tailwind
colors: {
  custom: {
    50: '#c4c87f',
    500: '#a8b248',
    950: '#000000',
  },
}
SCSS
$custom: #a8b248;
$custom-light: #c4c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b248",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 65.66,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73444,
    "c": 0.13035,
    "h": 114.2
  },
  "luminance": 0.40633
}

Semantic roles & 50–950 ramp

primary
#A8B248
secondary
#9792C4
accent
#56D261
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #A8B248

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

Preview Lab → · Contrast checker → · Palette generator →

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