#A8B72F#A8B72F

#A8B72F 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#A8B72F
RGBrgb(168, 183, 47)
HSLhsl(67, 59%, 45%)
HSVhsv(67, 74%, 72%)
CMYKcmyk(8.2%, 0%, 74.3%, 28.2%)
CIE-LABlab(71.14, -22.10, 62.80)
CIE-LCHlch(71.14, 66.57, 109.39°)
OKLaboklab(74.37% -0.067 0.1386)
OKLCHoklch(74.37% 0.154 115.8)
XYZxyz(33.5959, 42.3976, 9.1025)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B72F #3E2FB7
analogous
#B7822F #A8B72F #64B72F
triadic
#A8B72F #2FA8B7 #B72FA8
tetradic
#A8B72F #2FB782 #3E2FB7 #B72F64
square
#A8B72F #2FB782 #3E2FB7 #B72F64
split-complementary
#A8B72F #2F64B7 #822FB7
monochromatic
#4F5616 #7B8622 #A8B72F #C4D251 #D5DF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B72F#FFFFFF#000000##000000
##A8B72F1.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)
#C4AD11
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#B3AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8b72f;
/* rgb */ color: rgb(168, 183, 47);
/* oklch */ color: oklch(74.4% 0.154 115.8);
Tailwind
colors: {
  custom: {
    50: '#c5cc72',
    500: '#a8b72f',
    950: '#000000',
  },
}
SCSS
$custom: #a8b72f;
$custom-light: #c5cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b72f",
  "rgb": {
    "r": 168,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 66.618,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74368,
    "c": 0.15394,
    "h": 115.8
  },
  "luminance": 0.42397
}

Semantic roles & 50–950 ramp

primary
#A8B72F
secondary
#837AC8
accent
#45E257
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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