#7E9F1C#7E9F1C

#7E9F1C is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 65.5% C 0.153 H 123.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7E9F1C
RGBrgb(126, 159, 28)
HSLhsl(75, 70%, 37%)
HSVhsv(75, 82%, 62%)
CMYKcmyk(20.8%, 0%, 82.4%, 37.6%)
CIE-LABlab(61.06, -28.87, 58.31)
CIE-LCHlch(61.06, 65.06, 116.34°)
OKLaboklab(65.45% -0.0848 0.1272)
OKLCHoklch(65.45% 0.153 123.7)
XYZxyz(21.2122, 29.3156, 5.6393)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9F1C #3D1C9F
analogous
#9F7F1C #7E9F1C #3C9F1C
triadic
#7E9F1C #1C7E9F #9F1C7E
tetradic
#7E9F1C #1C9F7F #3D1C9F #9F1C3C
square
#7E9F1C #1C9F7F #3D1C9F #9F1C3C
split-complementary
#7E9F1C #1C3C9F #7F1C9F
monochromatic
#2C370A #556B13 #7E9F1C #A7D325 #BEE154

Accessibility & contrast

On white

3.06
#7E9F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#7E9F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9F1C
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9F1C#FFFFFF#000000##000000
##7E9F1C1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#859787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9f1c;
/* rgb */ color: rgb(126, 159, 28);
/* oklch */ color: oklch(65.5% 0.153 123.7);
Tailwind
colors: {
  custom: {
    50: '#a7bb66',
    500: '#7e9f1c',
    950: '#000000',
  },
}
SCSS
$custom: #7e9f1c;
$custom-light: #a7bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9f1c",
  "rgb": {
    "r": 126,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 75.115,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65452,
    "c": 0.15283,
    "h": 123.7
  },
  "luminance": 0.29316
}

Semantic roles & 50–950 ramp

primary
#7E9F1C
secondary
#6F53C4
accent
#3BED68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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