#7FA01C#7FA01C

#7FA01C is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.8% C 0.154 H 123.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7FA01C
RGBrgb(127, 160, 28)
HSLhsl(75, 70%, 37%)
HSVhsv(75, 83%, 63%)
CMYKcmyk(20.6%, 0%, 82.5%, 37.3%)
CIE-LABlab(61.43, -28.93, 58.66)
CIE-LCHlch(61.43, 65.41, 116.25°)
OKLaboklab(65.77% -0.085 0.1279)
OKLCHoklch(65.77% 0.154 123.6)
XYZxyz(21.5331, 29.7373, 5.7038)
Luminance0.2974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA01C #3D1CA0
analogous
#A07F1C #7FA01C #3DA01C
triadic
#7FA01C #1C7FA0 #A01C7F
tetradic
#7FA01C #1CA07F #3D1CA0 #A01C3D
square
#7FA01C #1CA07F #3D1CA0 #A01C3D
split-complementary
#7FA01C #1C3DA0 #7F1CA0
monochromatic
#2C380A #566C13 #7FA01C #A8D425 #BEE155

Accessibility & contrast

On white

3.02
#7FA01C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#7FA01C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA01C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA01C#FFFFFF#000000##000000
##7FA01C1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#A5942B
Tritanopia (blue-blind)
#869888
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7fa01c;
/* rgb */ color: rgb(127, 160, 28);
/* oklch */ color: oklch(65.8% 0.154 123.6);
Tailwind
colors: {
  custom: {
    50: '#a8bc66',
    500: '#7fa01c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa01c;
$custom-light: #a8bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa01c",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 75,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65767,
    "c": 0.15356,
    "h": 123.6
  },
  "luminance": 0.29737
}

Semantic roles & 50–950 ramp

primary
#7FA01C
secondary
#7053C4
accent
#3BED67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7FA01C

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

Preview Lab → · Contrast checker → · Palette generator →

#7FA01C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva