#A8B72D#A8B72D

#A8B72D is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.4% C 0.155 H 115.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#A8B72D
RGBrgb(168, 183, 45)
HSLhsl(67, 61%, 45%)
HSVhsv(67, 75%, 72%)
CMYKcmyk(8.2%, 0%, 75.4%, 28.2%)
CIE-LABlab(71.13, -22.19, 63.45)
CIE-LCHlch(71.13, 67.22, 109.28°)
OKLaboklab(74.36% -0.0675 0.1396)
OKLCHoklch(74.36% 0.155 115.8)
XYZxyz(33.5565, 42.3818, 8.8949)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B72D #3C2DB7
analogous
#B7812D #A8B72D #63B72D
triadic
#A8B72D #2DA8B7 #B72DA8
tetradic
#A8B72D #2DB781 #3C2DB7 #B72D63
square
#A8B72D #2DB781 #3C2DB7 #B72D63
split-complementary
#A8B72D #2D63B7 #812DB7
monochromatic
#4E5515 #7B8621 #A8B72D #C5D34E #D5DF7F

Accessibility & contrast

On white

2.22
#A8B72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#A8B72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B72D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B72D#FFFFFF#000000##000000
##A8B72D1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0B
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#B3AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8b72d;
/* rgb */ color: rgb(168, 183, 45);
/* oklch */ color: oklch(74.4% 0.155 115.8);
Tailwind
colors: {
  custom: {
    50: '#c5cc71',
    500: '#a8b72d',
    950: '#000000',
  },
}
SCSS
$custom: #a8b72d;
$custom-light: #c5cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b72d",
  "rgb": {
    "r": 168,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 66.522,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74355,
    "c": 0.15505,
    "h": 115.8
  },
  "luminance": 0.42381
}

Semantic roles & 50–950 ramp

primary
#A8B72D
secondary
#8078C8
accent
#44E455
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B72D

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

Preview Lab → · Contrast checker → · Palette generator →

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