#7F931D#7F931D

#7F931D is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.6% C 0.138 H 119.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7F931D
RGBrgb(127, 147, 29)
HSLhsl(70, 67%, 35%)
HSVhsv(70, 80%, 58%)
CMYKcmyk(13.6%, 0%, 80.3%, 42.4%)
CIE-LABlab(57.53, -22.50, 54.89)
CIE-LCHlch(57.53, 59.32, 112.29°)
OKLaboklab(62.62% -0.0674 0.12)
OKLCHoklch(62.62% 0.138 119.3)
XYZxyz(19.4083, 25.4683, 5.0556)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F931D #311D93
analogous
#936C1D #7F931D #44931D
triadic
#7F931D #1D7F93 #931D7F
tetradic
#7F931D #1D936C #311D93 #931D44
square
#7F931D #1D936C #311D93 #931D44
split-complementary
#7F931D #1D4493 #6C1D93
monochromatic
#272D09 #536013 #7F931D #ABC627 #C4DC4E

Accessibility & contrast

On white

3.45
#7F931D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#7F931D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F931D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F931D#FFFFFF#000000##000000
##7F931D1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#878B7D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f931d;
/* rgb */ color: rgb(127, 147, 29);
/* oklch */ color: oklch(62.6% 0.138 119.3);
Tailwind
colors: {
  custom: {
    50: '#a8b264',
    500: '#7f931d',
    950: '#000000',
  },
}
SCSS
$custom: #7f931d;
$custom-light: #a8b264;
$custom-dark: #000000;
JSON
{
  "hex": "#7f931d",
  "rgb": {
    "r": 127,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 70.169,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.6262,
    "c": 0.13765,
    "h": 119.3
  },
  "luminance": 0.25468
}

Semantic roles & 50–950 ramp

primary
#7F931D
secondary
#604DBF
accent
#3EEA5B
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F931D

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

Preview Lab → · Contrast checker → · Palette generator →

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