#A8B833#A8B833

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

Color values

HEX#A8B833
RGBrgb(168, 184, 51)
HSLhsl(67, 57%, 46%)
HSVhsv(67, 72%, 72%)
CMYKcmyk(8.7%, 0%, 72.3%, 27.8%)
CIE-LABlab(71.45, -22.40, 61.71)
CIE-LCHlch(71.45, 65.65, 109.95°)
OKLaboklab(74.62% -0.0675 0.137)
OKLCHoklch(74.62% 0.153 116.2)
XYZxyz(33.8873, 42.8453, 9.6161)
Luminance0.4284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B833 #4333B8
analogous
#B88533 #A8B833 #65B833
triadic
#A8B833 #33A8B8 #B833A8
tetradic
#A8B833 #33B885 #4333B8 #B83365
square
#A8B833 #33B885 #4333B8 #B83365
split-complementary
#A8B833 #3365B8 #8533B8
monochromatic
#505818 #7C8826 #A8B833 #C2D158 #D3DE88

Accessibility & contrast

On white

2.19
#A8B833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#A8B833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B833
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B833#FFFFFF#000000##000000
##A8B8331.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b833;
/* rgb */ color: rgb(168, 184, 51);
/* oklch */ color: oklch(74.6% 0.153 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cd74',
    500: '#a8b833',
    950: '#000000',
  },
}
SCSS
$custom: #a8b833;
$custom-light: #c5cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b833",
  "rgb": {
    "r": 168,
    "g": 184,
    "b": 51
  },
  "hsl": {
    "h": 67.218,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7462,
    "c": 0.1527,
    "h": 116.2
  },
  "luminance": 0.42845
}

Semantic roles & 50–950 ramp

primary
#A8B833
secondary
#887FC8
accent
#48E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B833

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

Preview Lab → · Contrast checker → · Palette generator →

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