#7F9621#7F9621

#7F9621 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.4% C 0.139 H 120.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7F9621
RGBrgb(127, 150, 33)
HSLhsl(72, 64%, 36%)
HSVhsv(72, 78%, 59%)
CMYKcmyk(15.3%, 0%, 78%, 41.2%)
CIE-LABlab(58.45, -23.83, 54.47)
CIE-LCHlch(58.45, 59.45, 113.63°)
OKLaboklab(63.37% -0.0707 0.1198)
OKLCHoklch(63.37% 0.139 120.5)
XYZxyz(19.9336, 26.4346, 5.4908)
Luminance0.2643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9621 #382196
analogous
#967221 #7F9621 #449621
triadic
#7F9621 #217F96 #96217F
tetradic
#7F9621 #219672 #382196 #962144
square
#7F9621 #219672 #382196 #962144
split-complementary
#7F9621 #214496 #722196
monochromatic
#2A320B #556416 #7F9621 #A9C82C #C0DA57

Accessibility & contrast

On white

3.34
#7F9621 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7F9621 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9621
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9621#FFFFFF#000000##000000
##7F96211.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D02
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#878E80
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f9621;
/* rgb */ color: rgb(127, 150, 33);
/* oklch */ color: oklch(63.4% 0.139 120.5);
Tailwind
colors: {
  custom: {
    50: '#a7b467',
    500: '#7f9621',
    950: '#000000',
  },
}
SCSS
$custom: #7f9621;
$custom-light: #a7b467;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9621",
  "rgb": {
    "r": 127,
    "g": 150,
    "b": 33
  },
  "hsl": {
    "h": 71.795,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63367,
    "c": 0.13914,
    "h": 120.5
  },
  "luminance": 0.26435
}

Semantic roles & 50–950 ramp

primary
#7F9621
secondary
#6955BE
accent
#41E762
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9621

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

Preview Lab → · Contrast checker → · Palette generator →

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