#7F9723#7F9723

#7F9723 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.6% C 0.139 H 121.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7F9723
RGBrgb(127, 151, 35)
HSLhsl(72, 62%, 36%)
HSVhsv(72, 77%, 59%)
CMYKcmyk(15.9%, 0%, 76.8%, 40.8%)
CIE-LABlab(58.76, -24.23, 54.09)
CIE-LCHlch(58.76, 59.27, 114.13°)
OKLaboklab(63.62% -0.0716 0.1194)
OKLCHoklch(63.62% 0.139 121)
XYZxyz(20.1227, 26.7666, 5.6962)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9723 #3B2397
analogous
#977523 #7F9723 #459723
triadic
#7F9723 #237F97 #97237F
tetradic
#7F9723 #239775 #3B2397 #972345
square
#7F9723 #239775 #3B2397 #972345
split-complementary
#7F9723 #234597 #752397
monochromatic
#2B340C #556517 #7F9723 #A9C92F #BFD95B

Accessibility & contrast

On white

3.31
#7F9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#7F9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9723
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9723#FFFFFF#000000##000000
##7F97231.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E06
Deuteranopia (green-blind)
#9E8D2E
Tritanopia (blue-blind)
#868F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f9723;
/* rgb */ color: rgb(127, 151, 35);
/* oklch */ color: oklch(63.6% 0.139 121.0);
Tailwind
colors: {
  custom: {
    50: '#a7b568',
    500: '#7f9723',
    950: '#000000',
  },
}
SCSS
$custom: #7f9723;
$custom-light: #a7b568;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9723",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 72.414,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6362,
    "c": 0.13924,
    "h": 121
  },
  "luminance": 0.26767
}

Semantic roles & 50–950 ramp

primary
#7F9723
secondary
#6D58BE
accent
#42E564
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9723

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

Preview Lab → · Contrast checker → · Palette generator →

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