#A8B827#A8B827

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

Color values

HEX#A8B827
RGBrgb(168, 184, 39)
HSLhsl(67, 65%, 44%)
HSVhsv(67, 79%, 72%)
CMYKcmyk(8.7%, 0%, 78.8%, 27.8%)
CIE-LABlab(71.39, -22.93, 65.53)
CIE-LCHlch(71.39, 69.43, 109.29°)
OKLaboklab(74.55% -0.07 0.143)
OKLCHoklch(74.55% 0.159 116.1)
XYZxyz(33.6561, 42.7528, 8.3982)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B827 #3727B8
analogous
#B87F27 #A8B827 #5FB827
triadic
#A8B827 #27A8B8 #B827A8
tetradic
#A8B827 #27B87F #3727B8 #B8275F
square
#A8B827 #27B87F #3727B8 #B8275F
split-complementary
#A8B827 #275FB8 #7F27B8
monochromatic
#4C5312 #7A861C #A8B827 #C7D845 #D6E277

Accessibility & contrast

On white

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

On black

9.55
#A8B827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B827
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B827#FFFFFF#000000##000000
##A8B8271.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C4B035
Tritanopia (blue-blind)
#B3AD9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a8b827;
/* rgb */ color: rgb(168, 184, 39);
/* oklch */ color: oklch(74.6% 0.159 116.1);
Tailwind
colors: {
  custom: {
    50: '#c6cd6e',
    500: '#a8b827',
    950: '#000000',
  },
}
SCSS
$custom: #a8b827;
$custom-light: #c6cd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b827",
  "rgb": {
    "r": 168,
    "g": 184,
    "b": 39
  },
  "hsl": {
    "h": 66.621,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7455,
    "c": 0.15919,
    "h": 116.1
  },
  "luminance": 0.42752
}

Semantic roles & 50–950 ramp

primary
#A8B827
secondary
#7B71CA
accent
#40E852
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B827

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

Preview Lab → · Contrast checker → · Palette generator →

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