#7F9623#7F9623

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

Color values

HEX#7F9623
RGBrgb(127, 150, 35)
HSLhsl(72, 62%, 36%)
HSVhsv(72, 77%, 59%)
CMYKcmyk(15.3%, 0%, 76.7%, 41.2%)
CIE-LABlab(58.46, -23.73, 53.81)
CIE-LCHlch(58.46, 58.81, 113.80°)
OKLaboklab(63.38% -0.0703 0.1188)
OKLCHoklch(63.38% 0.138 120.6)
XYZxyz(19.9625, 26.4461, 5.6427)
Luminance0.2645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9623 #3A2396
analogous
#967423 #7F9623 #469623
triadic
#7F9623 #237F96 #96237F
tetradic
#7F9623 #239674 #3A2396 #962346
square
#7F9623 #239674 #3A2396 #962346
split-complementary
#7F9623 #234696 #742396
monochromatic
#2B330C #556417 #7F9623 #A9C82F #BFD95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F9623#FFFFFF#000000##000000
##7F96231.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)
#A08D07
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#868E80
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f9623;
/* rgb */ color: rgb(127, 150, 35);
/* oklch */ color: oklch(63.4% 0.138 120.6);
Tailwind
colors: {
  custom: {
    50: '#a7b467',
    500: '#7f9623',
    950: '#000000',
  },
}
SCSS
$custom: #7f9623;
$custom-light: #a7b467;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9623",
  "rgb": {
    "r": 127,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 72,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63379,
    "c": 0.13803,
    "h": 120.6
  },
  "luminance": 0.26446
}

Semantic roles & 50–950 ramp

primary
#7F9623
secondary
#6C58BD
accent
#43E563
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9623

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

Preview Lab → · Contrast checker → · Palette generator →

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