#7B991C#7B991C

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

Color values

HEX#7B991C
RGBrgb(123, 153, 28)
HSLhsl(74, 69%, 35%)
HSVhsv(74, 82%, 60%)
CMYKcmyk(19.6%, 0%, 81.7%, 40%)
CIE-LABlab(59.05, -27.22, 56.44)
CIE-LCHlch(59.05, 62.66, 115.75°)
OKLaboklab(63.77% -0.0801 0.1233)
OKLCHoklch(63.77% 0.147 123)
XYZxyz(19.7695, 27.0772, 5.2833)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B991C #3A1C99
analogous
#99781C #7B991C #3C991C
triadic
#7B991C #1C7B99 #991C7B
tetradic
#7B991C #1C9978 #3A1C99 #991C3C
square
#7B991C #1C9978 #3A1C99 #991C3C
split-complementary
#7B991C #1C3C99 #781C99
monochromatic
#283209 #516513 #7B991C #A5CD25 #BDDF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B991C#FFFFFF#000000##000000
##7B991C1.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)
#9E8E29
Tritanopia (blue-blind)
#829182
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b991c;
/* rgb */ color: rgb(123, 153, 28);
/* oklch */ color: oklch(63.8% 0.147 123.0);
Tailwind
colors: {
  custom: {
    50: '#a5b765',
    500: '#7b991c',
    950: '#000000',
  },
}
SCSS
$custom: #7b991c;
$custom-light: #a5b765;
$custom-dark: #000000;
JSON
{
  "hex": "#7b991c",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 74.4,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63771,
    "c": 0.14705,
    "h": 123
  },
  "luminance": 0.27077
}

Semantic roles & 50–950 ramp

primary
#7B991C
secondary
#6B4FC2
accent
#3CEC66
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B991C

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

Preview Lab → · Contrast checker → · Palette generator →

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