#A5C02F#A5C02F

#A5C02F is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 76.2% C 0.165 H 119.9°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#A5C02F
RGBrgb(165, 192, 47)
HSLhsl(71, 61%, 47%)
HSVhsv(71, 76%, 75%)
CMYKcmyk(14.1%, 0%, 75.5%, 24.7%)
CIE-LABlab(73.48, -27.73, 64.92)
CIE-LCHlch(73.48, 70.60, 113.13°)
OKLaboklab(76.2% -0.0824 0.1432)
OKLCHoklch(76.2% 0.165 119.9)
XYZxyz(34.8805, 45.9040, 9.7116)
Luminance0.4590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C02F #4A2FC0
analogous
#C0922F #A5C02F #5DC02F
triadic
#A5C02F #2FA5C0 #C02FA5
tetradic
#A5C02F #2FC092 #4A2FC0 #C02F5D
square
#A5C02F #2FC092 #4A2FC0 #C02F5D
split-complementary
#A5C02F #2F5DC0 #922FC0
monochromatic
#505E17 #7B8F23 #A5C02F #BED656 #D1E288

Accessibility & contrast

On white

2.06
#A5C02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#A5C02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C02F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C02F#FFFFFF#000000##000000
##A5C02F1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB50A
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#AFB6A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5c02f;
/* rgb */ color: rgb(165, 192, 47);
/* oklch */ color: oklch(76.2% 0.165 119.9);
Tailwind
colors: {
  custom: {
    50: '#c3d373',
    500: '#a5c02f',
    950: '#000000',
  },
}
SCSS
$custom: #a5c02f;
$custom-light: #c3d373;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c02f",
  "rgb": {
    "r": 165,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 71.172,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76195,
    "c": 0.16518,
    "h": 119.9
  },
  "luminance": 0.45904
}

Semantic roles & 50–950 ramp

primary
#A5C02F
secondary
#8E7FCB
accent
#44E462
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A5C02F

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

Preview Lab → · Contrast checker → · Palette generator →

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