#A8C02E#A8C02E

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

Color values

HEX#A8C02E
RGBrgb(168, 192, 46)
HSLhsl(70, 61%, 47%)
HSVhsv(70, 76%, 75%)
CMYKcmyk(12.5%, 0%, 76%, 24.7%)
CIE-LABlab(73.69, -26.54, 65.51)
CIE-LCHlch(73.69, 70.68, 112.05°)
OKLaboklab(76.41% -0.0794 0.1441)
OKLCHoklch(76.41% 0.165 118.8)
XYZxyz(35.4920, 46.2216, 9.6362)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C02E #462EC0
analogous
#C08F2E #A8C02E #5FC02E
triadic
#A8C02E #2EA8C0 #C02EA8
tetradic
#A8C02E #2EC08F #462EC0 #C02E5F
square
#A8C02E #2EC08F #462EC0 #C02E5F
split-complementary
#A8C02E #2E5FC0 #8F2EC0
monochromatic
#525D16 #7D8F22 #A8C02E #C1D655 #D3E286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8C02E#FFFFFF#000000##000000
##A8C02E1.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)
#CDB506
Deuteranopia (green-blind)
#CAB63C
Tritanopia (blue-blind)
#B2B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a8c02e;
/* rgb */ color: rgb(168, 192, 46);
/* oklch */ color: oklch(76.4% 0.165 118.8);
Tailwind
colors: {
  custom: {
    50: '#c6d372',
    500: '#a8c02e',
    950: '#000000',
  },
}
SCSS
$custom: #a8c02e;
$custom-light: #c6d372;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c02e",
  "rgb": {
    "r": 168,
    "g": 192,
    "b": 46
  },
  "hsl": {
    "h": 69.863,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76412,
    "c": 0.16454,
    "h": 118.8
  },
  "luminance": 0.46221
}

Semantic roles & 50–950 ramp

primary
#A8C02E
secondary
#8B7ECC
accent
#43E45E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A8C02E

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

Preview Lab → · Contrast checker → · Palette generator →

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