#A8B02E#A8B02E

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

Color values

HEX#A8B02E
RGBrgb(168, 176, 46)
HSLhsl(64, 59%, 44%)
HSVhsv(64, 74%, 69%)
CMYKcmyk(4.5%, 0%, 73.9%, 31%)
CIE-LABlab(69.16, -18.65, 61.26)
CIE-LCHlch(69.16, 64.04, 106.93°)
OKLaboklab(72.78% -0.0576 0.1352)
OKLCHoklch(72.78% 0.147 113.1)
XYZxyz(32.1679, 39.5735, 8.5281)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B02E #362EB0
analogous
#B0772E #A8B02E #67B02E
triadic
#A8B02E #2EA8B0 #B02EA8
tetradic
#A8B02E #2EB077 #362EB0 #B02E67
square
#A8B02E #2EB077 #362EB0 #B02E67
split-complementary
#A8B02E #2E67B0 #772EB0
monochromatic
#4B4F15 #7A7F21 #A8B02E #C8D04B #D7DD7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B02E#FFFFFF#000000##000000
##A8B02E1.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)
#BDA713
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#B3A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8b02e;
/* rgb */ color: rgb(168, 176, 46);
/* oklch */ color: oklch(72.8% 0.147 113.1);
Tailwind
colors: {
  custom: {
    50: '#c5c771',
    500: '#a8b02e',
    950: '#000000',
  },
}
SCSS
$custom: #a8b02e;
$custom-light: #c5c771;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b02e",
  "rgb": {
    "r": 168,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 63.692,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72778,
    "c": 0.14691,
    "h": 113.1
  },
  "luminance": 0.39573
}

Semantic roles & 50–950 ramp

primary
#A8B02E
secondary
#7A75C5
accent
#46E250
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B02E

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

Preview Lab → · Contrast checker → · Palette generator →

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