#A8C02F#A8C02F

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

Color values

HEX#A8C02F
RGBrgb(168, 192, 47)
HSLhsl(70, 61%, 47%)
HSVhsv(70, 76%, 75%)
CMYKcmyk(12.5%, 0%, 75.5%, 24.7%)
CIE-LABlab(73.69, -26.49, 65.20)
CIE-LCHlch(73.69, 70.37, 112.11°)
OKLaboklab(76.42% -0.0792 0.1436)
OKLCHoklch(76.42% 0.164 118.9)
XYZxyz(35.5119, 46.2296, 9.7412)
Luminance0.4623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C02F #472FC0
analogous
#C0902F #A8C02F #60C02F
triadic
#A8C02F #2FA8C0 #C02FA8
tetradic
#A8C02F #2FC090 #472FC0 #C02F60
square
#A8C02F #2FC090 #472FC0 #C02F60
split-complementary
#A8C02F #2F60C0 #902FC0
monochromatic
#525E17 #7D8F23 #A8C02F #C1D656 #D3E288

Accessibility & contrast

On white

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

On black

10.25
#A8C02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8C02F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8C02F#FFFFFF#000000##000000
##A8C02F1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50A
Deuteranopia (green-blind)
#CAB63C
Tritanopia (blue-blind)
#B2B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a8c02f;
/* rgb */ color: rgb(168, 192, 47);
/* oklch */ color: oklch(76.4% 0.164 118.9);
Tailwind
colors: {
  custom: {
    50: '#c5d373',
    500: '#a8c02f',
    950: '#000000',
  },
}
SCSS
$custom: #a8c02f;
$custom-light: #c5d373;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c02f",
  "rgb": {
    "r": 168,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 69.931,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76418,
    "c": 0.16402,
    "h": 118.9
  },
  "luminance": 0.46229
}

Semantic roles & 50–950 ramp

primary
#A8C02F
secondary
#8C7FCB
accent
#44E45E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A8C02F

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

Preview Lab → · Contrast checker → · Palette generator →

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