#A8B830#A8B830

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

Color values

HEX#A8B830
RGBrgb(168, 184, 48)
HSLhsl(67, 59%, 45%)
HSVhsv(67, 74%, 72%)
CMYKcmyk(8.7%, 0%, 73.9%, 27.8%)
CIE-LABlab(71.43, -22.54, 62.73)
CIE-LCHlch(71.43, 66.66, 109.77°)
OKLaboklab(74.6% -0.0682 0.1386)
OKLCHoklch(74.6% 0.154 116.2)
XYZxyz(33.8233, 42.8197, 9.2790)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B830 #4030B8
analogous
#B88430 #A8B830 #64B830
triadic
#A8B830 #30A8B8 #B830A8
tetradic
#A8B830 #30B884 #4030B8 #B83064
square
#A8B830 #30B884 #4030B8 #B83064
split-complementary
#A8B830 #3064B8 #8430B8
monochromatic
#4F5717 #7C8723 #A8B830 #C3D253 #D4DF84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B830#FFFFFF#000000##000000
##A8B8301.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)
#C5AE13
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#B3AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a8b830;
/* rgb */ color: rgb(168, 184, 48);
/* oklch */ color: oklch(74.6% 0.154 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cd72',
    500: '#a8b830',
    950: '#000000',
  },
}
SCSS
$custom: #a8b830;
$custom-light: #c5cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b830",
  "rgb": {
    "r": 168,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 67.059,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74601,
    "c": 0.15448,
    "h": 116.2
  },
  "luminance": 0.42819
}

Semantic roles & 50–950 ramp

primary
#A8B830
secondary
#857CC8
accent
#46E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B830

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

Preview Lab → · Contrast checker → · Palette generator →

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