#A8C02B#A8C02B

#A8C02B is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.4% C 0.166 H 118.8°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#A8C02B
RGBrgb(168, 192, 43)
HSLhsl(70, 63%, 46%)
HSVhsv(70, 78%, 75%)
CMYKcmyk(12.5%, 0%, 77.6%, 24.7%)
CIE-LABlab(73.67, -26.67, 66.42)
CIE-LCHlch(73.67, 71.57, 111.87°)
OKLaboklab(76.4% -0.08 0.1456)
OKLCHoklch(76.4% 0.166 118.8)
XYZxyz(35.4349, 46.1988, 9.3356)
Luminance0.4620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C02B #432BC0
analogous
#C08D2B #A8C02B #5EC02B
triadic
#A8C02B #2BA8C0 #C02BA8
tetradic
#A8C02B #2BC08D #432BC0 #C02B5E
square
#A8C02B #2BC08D #432BC0 #C02B5E
split-complementary
#A8C02B #2B5EC0 #8D2BC0
monochromatic
#505C15 #7C8E20 #A8C02B #C2D850 #D3E382

Accessibility & contrast

On white

2.05
#A8C02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#A8C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8C02B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8C02B#FFFFFF#000000##000000
##A8C02B1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CAB639
Tritanopia (blue-blind)
#B2B5A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a8c02b;
/* rgb */ color: rgb(168, 192, 43);
/* oklch */ color: oklch(76.4% 0.166 118.8);
Tailwind
colors: {
  custom: {
    50: '#c6d371',
    500: '#a8c02b',
    950: '#000000',
  },
}
SCSS
$custom: #a8c02b;
$custom-light: #c6d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c02b",
  "rgb": {
    "r": 168,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 69.664,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76396,
    "c": 0.16607,
    "h": 118.8
  },
  "luminance": 0.46199
}

Semantic roles & 50–950 ramp

primary
#A8C02B
secondary
#887BCC
accent
#41E65C
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A8C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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