#A8B82F#A8B82F

#A8B82F is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.6% C 0.155 H 116.2°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#A8B82F
RGBrgb(168, 184, 47)
HSLhsl(67, 59%, 45%)
HSVhsv(67, 74%, 72%)
CMYKcmyk(8.7%, 0%, 74.5%, 27.8%)
CIE-LABlab(71.43, -22.59, 63.06)
CIE-LCHlch(71.43, 66.99, 109.71°)
OKLaboklab(74.6% -0.0684 0.1391)
OKLCHoklch(74.6% 0.155 116.2)
XYZxyz(33.8029, 42.8115, 9.1715)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B82F #3F2FB8
analogous
#B8832F #A8B82F #64B82F
triadic
#A8B82F #2FA8B8 #B82FA8
tetradic
#A8B82F #2FB883 #3F2FB8 #B82F64
square
#A8B82F #2FB883 #3F2FB8 #B82F64
split-complementary
#A8B82F #2F64B8 #832FB8
monochromatic
#4F5716 #7B8723 #A8B82F #C4D352 #D4DF82

Accessibility & contrast

On white

2.20
#A8B82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#A8B82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B82F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B82F#FFFFFF#000000##000000
##A8B82F1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE10
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#B3AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a8b82f;
/* rgb */ color: rgb(168, 184, 47);
/* oklch */ color: oklch(74.6% 0.155 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cd72',
    500: '#a8b82f',
    950: '#000000',
  },
}
SCSS
$custom: #a8b82f;
$custom-light: #c5cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b82f",
  "rgb": {
    "r": 168,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 67.007,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74595,
    "c": 0.15505,
    "h": 116.2
  },
  "luminance": 0.42811
}

Semantic roles & 50–950 ramp

primary
#A8B82F
secondary
#847BC8
accent
#45E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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