#A7C02F#A7C02F

#A7C02F is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 76.3% C 0.164 H 119.2°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#A7C02F
RGBrgb(167, 192, 47)
HSLhsl(70, 61%, 47%)
HSVhsv(70, 76%, 75%)
CMYKcmyk(13%, 0%, 75.5%, 24.7%)
CIE-LABlab(73.62, -26.91, 65.10)
CIE-LCHlch(73.62, 70.44, 112.45°)
OKLaboklab(76.34% -0.0803 0.1435)
OKLCHoklch(76.34% 0.164 119.2)
XYZxyz(35.2998, 46.1202, 9.7312)
Luminance0.4612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C02F #482FC0
analogous
#C0912F #A7C02F #5FC02F
triadic
#A7C02F #2FA7C0 #C02FA7
tetradic
#A7C02F #2FC091 #482FC0 #C02F5F
square
#A7C02F #2FC091 #482FC0 #C02F5F
split-complementary
#A7C02F #2F5FC0 #912FC0
monochromatic
#515E17 #7C8F23 #A7C02F #C0D656 #D2E288

Accessibility & contrast

On white

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

On black

10.22
#A7C02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C02F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C02F#FFFFFF#000000##000000
##A7C02F1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7c02f;
/* rgb */ color: rgb(167, 192, 47);
/* oklch */ color: oklch(76.3% 0.164 119.2);
Tailwind
colors: {
  custom: {
    50: '#c5d373',
    500: '#a7c02f',
    950: '#000000',
  },
}
SCSS
$custom: #a7c02f;
$custom-light: #c5d373;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c02f",
  "rgb": {
    "r": 167,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 70.345,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76343,
    "c": 0.16439,
    "h": 119.2
  },
  "luminance": 0.4612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7C02F

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

Preview Lab → · Contrast checker → · Palette generator →

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