#7FA01B#7FA01B

#7FA01B 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#7FA01B
RGBrgb(127, 160, 27)
HSLhsl(75, 71%, 37%)
HSVhsv(75, 83%, 63%)
CMYKcmyk(20.6%, 0%, 83.1%, 37.3%)
CIE-LABlab(61.42, -28.97, 58.93)
CIE-LCHlch(61.42, 65.66, 116.18°)
OKLaboklab(65.76% -0.0852 0.1283)
OKLCHoklch(65.76% 0.154 123.6)
XYZxyz(21.5213, 29.7326, 5.6419)
Luminance0.2973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA01B #3C1BA0
analogous
#A07F1B #7FA01B #3DA01B
triadic
#7FA01B #1B7FA0 #A01B7F
tetradic
#7FA01B #1BA07F #3C1BA0 #A01B3D
square
#7FA01B #1BA07F #3C1BA0 #A01B3D
split-complementary
#7FA01B #1B3DA0 #7F1BA0
monochromatic
#2C3709 #556C12 #7FA01B #A9D424 #BFE253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA01B#FFFFFF#000000##000000
##7FA01B1.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)
#A5942A
Tritanopia (blue-blind)
#869888
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7fa01b;
/* rgb */ color: rgb(127, 160, 27);
/* oklch */ color: oklch(65.8% 0.154 123.6);
Tailwind
colors: {
  custom: {
    50: '#a8bc65',
    500: '#7fa01b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa01b;
$custom-light: #a8bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa01b",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 74.887,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65762,
    "c": 0.15399,
    "h": 123.6
  },
  "luminance": 0.29733
}

Semantic roles & 50–950 ramp

primary
#7FA01B
secondary
#6E52C5
accent
#3AEE67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7FA01B

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

Preview Lab → · Contrast checker → · Palette generator →

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