#7E973B#7E973B

#7E973B is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.7% C 0.122 H 122.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7E973B
RGBrgb(126, 151, 59)
HSLhsl(76, 44%, 41%)
HSVhsv(76, 61%, 59%)
CMYKcmyk(16.6%, 0%, 60.9%, 40.8%)
CIE-LABlab(58.87, -23.04, 44.46)
CIE-LCHlch(58.87, 50.07, 117.40°)
OKLaboklab(63.75% -0.066 0.1028)
OKLCHoklch(63.75% 0.122 122.7)
XYZxyz(20.4604, 26.8845, 8.2482)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E973B #543B97
analogous
#97823B #7E973B #50973B
triadic
#7E973B #3B7E97 #973B7E
tetradic
#7E973B #3B9782 #543B97 #973B50
square
#7E973B #3B9782 #543B97 #973B50
split-complementary
#7E973B #3B5097 #823B97
monochromatic
#353F19 #596B2A #7E973B #9FBC53 #B8CD7F

Accessibility & contrast

On white

3.29
#7E973B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#7E973B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E973B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E973B#FFFFFF#000000##000000
##7E973B1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E31
Deuteranopia (green-blind)
#9C8E41
Tritanopia (blue-blind)
#849083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e973b;
/* rgb */ color: rgb(126, 151, 59);
/* oklch */ color: oklch(63.7% 0.122 122.7);
Tailwind
colors: {
  custom: {
    50: '#a6b575',
    500: '#7e973b',
    950: '#000000',
  },
}
SCSS
$custom: #7e973b;
$custom-light: #a6b575;
$custom-dark: #000000;
JSON
{
  "hex": "#7e973b",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 59
  },
  "hsl": {
    "h": 76.304,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63749,
    "c": 0.12216,
    "h": 122.7
  },
  "luminance": 0.26885
}

Semantic roles & 50–950 ramp

primary
#7E973B
secondary
#8877B7
accent
#54D477
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E973B

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

Preview Lab → · Contrast checker → · Palette generator →

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