#A8C02C#A8C02C

#A8C02C 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#A8C02C
RGBrgb(168, 192, 44)
HSLhsl(70, 63%, 46%)
HSVhsv(70, 77%, 75%)
CMYKcmyk(12.5%, 0%, 77.1%, 24.7%)
CIE-LABlab(73.68, -26.62, 66.12)
CIE-LCHlch(73.68, 71.28, 111.93°)
OKLaboklab(76.4% -0.0798 0.1451)
OKLCHoklch(76.4% 0.166 118.8)
XYZxyz(35.4535, 46.2062, 9.4334)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C02C #442CC0
analogous
#C08E2C #A8C02C #5EC02C
triadic
#A8C02C #2CA8C0 #C02CA8
tetradic
#A8C02C #2CC08E #442CC0 #C02C5E
square
#A8C02C #2CC08E #442CC0 #C02C5E
split-complementary
#A8C02C #2C5EC0 #8E2CC0
monochromatic
#515C15 #7C8E21 #A8C02C #C2D752 #D3E384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8C02C#FFFFFF#000000##000000
##A8C02C1.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)
#CAB63A
Tritanopia (blue-blind)
#B2B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a8c02c;
/* rgb */ color: rgb(168, 192, 44);
/* oklch */ color: oklch(76.4% 0.166 118.8);
Tailwind
colors: {
  custom: {
    50: '#c6d372',
    500: '#a8c02c',
    950: '#000000',
  },
}
SCSS
$custom: #a8c02c;
$custom-light: #c6d372;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c02c",
  "rgb": {
    "r": 168,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 69.73,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76401,
    "c": 0.16558,
    "h": 118.8
  },
  "luminance": 0.46206
}

Semantic roles & 50–950 ramp

primary
#A8C02C
secondary
#897CCC
accent
#42E65D
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A8C02C

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

Preview Lab → · Contrast checker → · Palette generator →

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