#7FA015#7FA015

#7FA015 is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.7% C 0.156 H 123.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7FA015
RGBrgb(127, 160, 21)
HSLhsl(74, 77%, 35%)
HSVhsv(74, 87%, 63%)
CMYKcmyk(20.6%, 0%, 86.9%, 37.3%)
CIE-LABlab(61.40, -29.17, 60.37)
CIE-LCHlch(61.40, 67.04, 115.79°)
OKLaboklab(65.74% -0.0861 0.1304)
OKLCHoklch(65.74% 0.156 123.4)
XYZxyz(21.4589, 29.7076, 5.3129)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA015 #3615A0
analogous
#A07C15 #7FA015 #39A015
triadic
#7FA015 #157FA0 #A0157F
tetradic
#7FA015 #15A07C #3615A0 #A01539
square
#7FA015 #15A07C #3615A0 #A01539
split-complementary
#7FA015 #1539A0 #7C15A0
monochromatic
#293407 #546A0E #7FA015 #AAD61C #C1E748

Accessibility & contrast

On white

3.03
#7FA015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#7FA015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA015
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA015#FFFFFF#000000##000000
##7FA0151.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa015;
/* rgb */ color: rgb(127, 160, 21);
/* oklch */ color: oklch(65.7% 0.156 123.4);
Tailwind
colors: {
  custom: {
    50: '#a8bc63',
    500: '#7fa015',
    950: '#000000',
  },
}
SCSS
$custom: #7fa015;
$custom-light: #a8bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa015",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 74.245,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65738,
    "c": 0.15627,
    "h": 123.4
  },
  "luminance": 0.29708
}

Semantic roles & 50–950 ramp

primary
#7FA015
secondary
#6749C8
accent
#34F362
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7FA015

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

Preview Lab → · Contrast checker → · Palette generator →

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