#A8B02C#A8B02C

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

Color values

HEX#A8B02C
RGBrgb(168, 176, 44)
HSLhsl(64, 60%, 43%)
HSVhsv(64, 75%, 69%)
CMYKcmyk(4.5%, 0%, 75%, 31%)
CIE-LABlab(69.15, -18.74, 61.93)
CIE-LCHlch(69.15, 64.70, 106.83°)
OKLaboklab(72.77% -0.058 0.1362)
OKLCHoklch(72.77% 0.148 113.1)
XYZxyz(32.1294, 39.5581, 8.3253)
Luminance0.3956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B02C #342CB0
analogous
#B0762C #A8B02C #66B02C
triadic
#A8B02C #2CA8B0 #B02CA8
tetradic
#A8B02C #2CB076 #342CB0 #B02C66
square
#A8B02C #2CB076 #342CB0 #B02C66
split-complementary
#A8B02C #2C66B0 #762CB0
monochromatic
#4B4E14 #797F20 #A8B02C #C9D148 #D7DD79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B02C#FFFFFF#000000##000000
##A8B02C1.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)
#BDA70D
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#B4A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8b02c;
/* rgb */ color: rgb(168, 176, 44);
/* oklch */ color: oklch(72.8% 0.148 113.1);
Tailwind
colors: {
  custom: {
    50: '#c5c770',
    500: '#a8b02c',
    950: '#000000',
  },
}
SCSS
$custom: #a8b02c;
$custom-light: #c5c770;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b02c",
  "rgb": {
    "r": 168,
    "g": 176,
    "b": 44
  },
  "hsl": {
    "h": 63.636,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72766,
    "c": 0.14804,
    "h": 113.1
  },
  "luminance": 0.39557
}

Semantic roles & 50–950 ramp

primary
#A8B02C
secondary
#7772C6
accent
#45E34E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B02C

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

Preview Lab → · Contrast checker → · Palette generator →

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