#A8B02F#A8B02F

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

Color values

HEX#A8B02F
RGBrgb(168, 176, 47)
HSLhsl(64, 58%, 44%)
HSVhsv(64, 73%, 69%)
CMYKcmyk(4.5%, 0%, 73.3%, 31%)
CIE-LABlab(69.17, -18.60, 60.92)
CIE-LCHlch(69.17, 63.70, 106.98°)
OKLaboklab(72.79% -0.0573 0.1346)
OKLCHoklch(72.79% 0.146 113.1)
XYZxyz(32.1879, 39.5814, 8.6332)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B02F #372FB0
analogous
#B0772F #A8B02F #67B02F
triadic
#A8B02F #2FA8B0 #B02FA8
tetradic
#A8B02F #2FB077 #372FB0 #B02F67
square
#A8B02F #2FB077 #372FB0 #B02F67
split-complementary
#A8B02F #2F67B0 #772FB0
monochromatic
#4C4F15 #7A8022 #A8B02F #C7CF4D #D6DC7D

Accessibility & contrast

On white

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

On black

8.92
#A8B02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B02F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B02F#FFFFFF#000000##000000
##A8B02F1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA815
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#B3A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8b02f;
/* rgb */ color: rgb(168, 176, 47);
/* oklch */ color: oklch(72.8% 0.146 113.1);
Tailwind
colors: {
  custom: {
    50: '#c5c771',
    500: '#a8b02f',
    950: '#000000',
  },
}
SCSS
$custom: #a8b02f;
$custom-light: #c5c771;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b02f",
  "rgb": {
    "r": 168,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 63.721,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72785,
    "c": 0.14631,
    "h": 113.1
  },
  "luminance": 0.39581
}

Semantic roles & 50–950 ramp

primary
#A8B02F
secondary
#7B76C5
accent
#47E150
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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