#A8B22D#A8B22D

#A8B22D is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.150 H 113.9°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A8B22D
RGBrgb(168, 178, 45)
HSLhsl(65, 60%, 44%)
HSVhsv(65, 75%, 70%)
CMYKcmyk(5.6%, 0%, 74.7%, 30.2%)
CIE-LABlab(69.72, -19.70, 62.13)
CIE-LCHlch(69.72, 65.18, 107.59°)
OKLaboklab(73.22% -0.0606 0.1368)
OKLCHoklch(73.22% 0.15 113.9)
XYZxyz(32.5435, 40.3557, 8.5572)
Luminance0.4036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B22D #372DB2
analogous
#B2792D #A8B22D #65B22D
triadic
#A8B22D #2DA8B2 #B22DA8
tetradic
#A8B22D #2DB279 #372DB2 #B22D65
square
#A8B22D #2DB279 #372DB2 #B22D65
split-complementary
#A8B22D #2D65B2 #792DB2
monochromatic
#4C5014 #7A8121 #A8B22D #C7D14B #D6DE7C

Accessibility & contrast

On white

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

On black

9.07
#A8B22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B22D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B22D#FFFFFF#000000##000000
##A8B22D1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90F
Deuteranopia (green-blind)
#BFAC38
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b22d;
/* rgb */ color: rgb(168, 178, 45);
/* oklch */ color: oklch(73.2% 0.150 113.9);
Tailwind
colors: {
  custom: {
    50: '#c5c870',
    500: '#a8b22d',
    950: '#000000',
  },
}
SCSS
$custom: #a8b22d;
$custom-light: #c5c870;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b22d",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 64.511,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73223,
    "c": 0.14962,
    "h": 113.9
  },
  "luminance": 0.40355
}

Semantic roles & 50–950 ramp

primary
#A8B22D
secondary
#7B75C6
accent
#45E351
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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