#7F931B#7F931B

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

Color values

HEX#7F931B
RGBrgb(127, 147, 27)
HSLhsl(70, 69%, 34%)
HSVhsv(70, 82%, 58%)
CMYKcmyk(13.6%, 0%, 81.6%, 42.4%)
CIE-LABlab(57.52, -22.58, 55.48)
CIE-LCHlch(57.52, 59.90, 112.15°)
OKLaboklab(62.61% -0.0677 0.1209)
OKLCHoklch(62.61% 0.139 119.3)
XYZxyz(19.3844, 25.4587, 4.9295)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F931B #2F1B93
analogous
#936B1B #7F931B #43931B
triadic
#7F931B #1B7F93 #931B7F
tetradic
#7F931B #1B936B #2F1B93 #931B43
square
#7F931B #1B936B #2F1B93 #931B43
split-complementary
#7F931B #1B4393 #6B1B93
monochromatic
#262C08 #525F12 #7F931B #ACC724 #C5DE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F931B#FFFFFF#000000##000000
##7F931B1.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)
#9B8B27
Tritanopia (blue-blind)
#878B7D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f931b;
/* rgb */ color: rgb(127, 147, 27);
/* oklch */ color: oklch(62.6% 0.139 119.3);
Tailwind
colors: {
  custom: {
    50: '#a8b264',
    500: '#7f931b',
    950: '#000000',
  },
}
SCSS
$custom: #7f931b;
$custom-light: #a8b264;
$custom-dark: #000000;
JSON
{
  "hex": "#7f931b",
  "rgb": {
    "r": 127,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 70,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.6261,
    "c": 0.13861,
    "h": 119.3
  },
  "luminance": 0.25459
}

Semantic roles & 50–950 ramp

primary
#7F931B
secondary
#5E4AC0
accent
#3CEC59
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F931B

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

Preview Lab → · Contrast checker → · Palette generator →

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