#7B991D#7B991D

#7B991D is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.8% C 0.147 H 123.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7B991D
RGBrgb(123, 153, 29)
HSLhsl(75, 68%, 36%)
HSVhsv(75, 81%, 60%)
CMYKcmyk(19.6%, 0%, 81%, 40%)
CIE-LABlab(59.05, -27.18, 56.16)
CIE-LCHlch(59.05, 62.39, 115.83°)
OKLaboklab(63.78% -0.08 0.1229)
OKLCHoklch(63.78% 0.147 123.1)
XYZxyz(19.7817, 27.0820, 5.3474)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B991D #3B1D99
analogous
#99791D #7B991D #3D991D
triadic
#7B991D #1D7B99 #991D7B
tetradic
#7B991D #1D9979 #3B1D99 #991D3D
square
#7B991D #1D9979 #3B1D99 #991D3D
split-complementary
#7B991D #1D3D99 #791D99
monochromatic
#283209 #526613 #7B991D #A4CC27 #BCDE52

Accessibility & contrast

On white

3.27
#7B991D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#7B991D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B991D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B991D#FFFFFF#000000##000000
##7B991D1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9E8E2A
Tritanopia (blue-blind)
#829182
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b991d;
/* rgb */ color: rgb(123, 153, 29);
/* oklch */ color: oklch(63.8% 0.147 123.1);
Tailwind
colors: {
  custom: {
    50: '#a5b765',
    500: '#7b991d',
    950: '#000000',
  },
}
SCSS
$custom: #7b991d;
$custom-light: #a5b765;
$custom-dark: #000000;
JSON
{
  "hex": "#7b991d",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 29
  },
  "hsl": {
    "h": 74.516,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63776,
    "c": 0.14658,
    "h": 123.1
  },
  "luminance": 0.27082
}

Semantic roles & 50–950 ramp

primary
#7B991D
secondary
#6C51C1
accent
#3DEB67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B991D

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

Preview Lab → · Contrast checker → · Palette generator →

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