#7F9323#7F9323

#7F9323 is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.7% C 0.134 H 119.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7F9323
RGBrgb(127, 147, 35)
HSLhsl(71, 62%, 36%)
HSVhsv(71, 76%, 58%)
CMYKcmyk(13.6%, 0%, 76.2%, 42.4%)
CIE-LABlab(57.56, -22.23, 52.96)
CIE-LCHlch(57.56, 57.44, 112.76°)
OKLaboklab(62.66% -0.0661 0.117)
OKLCHoklch(62.66% 0.134 119.5)
XYZxyz(19.4899, 25.5009, 5.4852)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9323 #372393
analogous
#936F23 #7F9323 #479323
triadic
#7F9323 #237F93 #93237F
tetradic
#7F9323 #23936F #372393 #932347
square
#7F9323 #23936F #372393 #932347
split-complementary
#7F9323 #234793 #6F2393
monochromatic
#2A300B #546217 #7F9323 #AAC42F #C1D759

Accessibility & contrast

On white

3.44
#7F9323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7F9323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9323
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9323#FFFFFF#000000##000000
##7F93231.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A09
Deuteranopia (green-blind)
#9A8B2D
Tritanopia (blue-blind)
#878B7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f9323;
/* rgb */ color: rgb(127, 147, 35);
/* oklch */ color: oklch(62.7% 0.134 119.5);
Tailwind
colors: {
  custom: {
    50: '#a7b267',
    500: '#7f9323',
    950: '#000000',
  },
}
SCSS
$custom: #7f9323;
$custom-light: #a7b267;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9323",
  "rgb": {
    "r": 127,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 70.714,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62655,
    "c": 0.1344,
    "h": 119.5
  },
  "luminance": 0.25501
}

Semantic roles & 50–950 ramp

primary
#7F9323
secondary
#6856BC
accent
#43E560
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9323

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

Preview Lab → · Contrast checker → · Palette generator →

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