#7F9F1D#7F9F1D

#7F9F1D is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.5% C 0.152 H 123.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7F9F1D
RGBrgb(127, 159, 29)
HSLhsl(75, 69%, 37%)
HSVhsv(75, 82%, 62%)
CMYKcmyk(20.1%, 0%, 81.8%, 37.6%)
CIE-LABlab(61.13, -28.41, 58.12)
CIE-LCHlch(61.13, 64.69, 116.05°)
OKLaboklab(65.53% -0.0835 0.1269)
OKLCHoklch(65.53% 0.152 123.4)
XYZxyz(21.3726, 29.3969, 5.7103)
Luminance0.2940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9F1D #3D1D9F
analogous
#9F7E1D #7F9F1D #3E9F1D
triadic
#7F9F1D #1D7F9F #9F1D7F
tetradic
#7F9F1D #1D9F7E #3D1D9F #9F1D3E
square
#7F9F1D #1D9F7E #3D1D9F #9F1D3E
split-complementary
#7F9F1D #1D3E9F #7E1D9F
monochromatic
#2C370A #566B14 #7F9F1D #A8D326 #BEE056

Accessibility & contrast

On white

3.05
#7F9F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#7F9F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9F1D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9F1D#FFFFFF#000000##000000
##7F9F1D1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#869788
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7f9f1d;
/* rgb */ color: rgb(127, 159, 29);
/* oklch */ color: oklch(65.5% 0.152 123.4);
Tailwind
colors: {
  custom: {
    50: '#a8bb66',
    500: '#7f9f1d',
    950: '#000000',
  },
}
SCSS
$custom: #7f9f1d;
$custom-light: #a8bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9f1d",
  "rgb": {
    "r": 127,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 74.769,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65528,
    "c": 0.15192,
    "h": 123.4
  },
  "luminance": 0.29397
}

Semantic roles & 50–950 ramp

primary
#7F9F1D
secondary
#7054C4
accent
#3CEC67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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