#A8B02B#A8B02B

#A8B02B is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.8% C 0.149 H 113.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#A8B02B
RGBrgb(168, 176, 43)
HSLhsl(64, 61%, 43%)
HSVhsv(64, 76%, 69%)
CMYKcmyk(4.5%, 0%, 75.6%, 31%)
CIE-LABlab(69.15, -18.78, 62.25)
CIE-LCHlch(69.15, 65.03, 106.79°)
OKLaboklab(72.76% -0.0582 0.1367)
OKLCHoklch(72.76% 0.149 113.1)
XYZxyz(32.1108, 39.5506, 8.2275)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B02B #332BB0
analogous
#B0752B #A8B02B #65B02B
triadic
#A8B02B #2BA8B0 #B02BA8
tetradic
#A8B02B #2BB075 #332BB0 #B02B65
square
#A8B02B #2BB075 #332BB0 #B02B65
split-complementary
#A8B02B #2B65B0 #752BB0
monochromatic
#4A4E13 #797F1F #A8B02B #C9D246 #D8DE78

Accessibility & contrast

On white

2.36
#A8B02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#A8B02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B02B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B02B#FFFFFF#000000##000000
##A8B02B1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA70A
Deuteranopia (green-blind)
#BEAA36
Tritanopia (blue-blind)
#B4A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8b02b;
/* rgb */ color: rgb(168, 176, 43);
/* oklch */ color: oklch(72.8% 0.149 113.1);
Tailwind
colors: {
  custom: {
    50: '#c5c76f',
    500: '#a8b02b',
    950: '#000000',
  },
}
SCSS
$custom: #a8b02b;
$custom-light: #c5c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b02b",
  "rgb": {
    "r": 168,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 63.609,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7276,
    "c": 0.14858,
    "h": 113.1
  },
  "luminance": 0.3955
}

Semantic roles & 50–950 ramp

primary
#A8B02B
secondary
#7671C6
accent
#44E44E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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