#A8B72E#A8B72E

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

Color values

HEX#A8B72E
RGBrgb(168, 183, 46)
HSLhsl(67, 60%, 45%)
HSVhsv(67, 75%, 72%)
CMYKcmyk(8.2%, 0%, 74.9%, 28.2%)
CIE-LABlab(71.14, -22.14, 63.13)
CIE-LCHlch(71.14, 66.90, 109.33°)
OKLaboklab(74.36% -0.0673 0.1391)
OKLCHoklch(74.36% 0.155 115.8)
XYZxyz(33.5760, 42.3896, 8.9975)
Luminance0.4239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B72E #3D2EB7
analogous
#B7812E #A8B72E #64B72E
triadic
#A8B72E #2EA8B7 #B72EA8
tetradic
#A8B72E #2EB781 #3D2EB7 #B72E64
square
#A8B72E #2EB781 #3D2EB7 #B72E64
split-complementary
#A8B72E #2E64B7 #812EB7
monochromatic
#4E5515 #7B8622 #A8B72E #C4D34F #D5DF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B72E#FFFFFF#000000##000000
##A8B72E1.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)
#C4AD0E
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#B3AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8b72e;
/* rgb */ color: rgb(168, 183, 46);
/* oklch */ color: oklch(74.4% 0.154 115.8);
Tailwind
colors: {
  custom: {
    50: '#c5cc71',
    500: '#a8b72e',
    950: '#000000',
  },
}
SCSS
$custom: #a8b72e;
$custom-light: #c5cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b72e",
  "rgb": {
    "r": 168,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 66.569,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74361,
    "c": 0.1545,
    "h": 115.8
  },
  "luminance": 0.42389
}

Semantic roles & 50–950 ramp

primary
#A8B72E
secondary
#8179C8
accent
#45E356
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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