#7D991B#7D991B

#7D991B is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.147 H 122.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7D991B
RGBrgb(125, 153, 27)
HSLhsl(73, 70%, 35%)
HSVhsv(73, 82%, 60%)
CMYKcmyk(18.3%, 0%, 82.4%, 40%)
CIE-LABlab(59.18, -26.42, 56.89)
CIE-LCHlch(59.18, 62.73, 114.91°)
OKLaboklab(63.91% -0.0781 0.124)
OKLCHoklch(63.91% 0.147 122.2)
XYZxyz(20.0468, 27.2215, 5.2349)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D991B #371B99
analogous
#99761B #7D991B #3E991B
triadic
#7D991B #1B7D99 #991B7D
tetradic
#7D991B #1B9976 #371B99 #991B3E
square
#7D991B #1B9976 #371B99 #991B3E
split-complementary
#7D991B #1B3E99 #761B99
monochromatic
#283109 #536512 #7D991B #A8CD24 #C0E04F

Accessibility & contrast

On white

3.26
#7D991B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#7D991B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D991B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D991B#FFFFFF#000000##000000
##7D991B1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#9F8E29
Tritanopia (blue-blind)
#849182
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d991b;
/* rgb */ color: rgb(125, 153, 27);
/* oklch */ color: oklch(63.9% 0.147 122.2);
Tailwind
colors: {
  custom: {
    50: '#a6b764',
    500: '#7d991b',
    950: '#000000',
  },
}
SCSS
$custom: #7d991b;
$custom-light: #a6b764;
$custom-dark: #000000;
JSON
{
  "hex": "#7d991b",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 27
  },
  "hsl": {
    "h": 73.333,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63912,
    "c": 0.14658,
    "h": 122.2
  },
  "luminance": 0.27222
}

Semantic roles & 50–950 ramp

primary
#7D991B
secondary
#674EC2
accent
#3BED63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D991B

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

Preview Lab → · Contrast checker → · Palette generator →

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