#79981B#79981B

#79981B is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.4% C 0.147 H 123.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#79981B
RGBrgb(121, 152, 27)
HSLhsl(75, 70%, 35%)
HSVhsv(75, 82%, 60%)
CMYKcmyk(20.4%, 0%, 82.2%, 40.4%)
CIE-LABlab(58.60, -27.62, 56.28)
CIE-LCHlch(58.60, 62.69, 116.14°)
OKLaboklab(63.38% -0.0812 0.1228)
OKLCHoklch(63.38% 0.147 123.5)
XYZxyz(19.3115, 26.6004, 5.1537)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79981B #3A1B98
analogous
#98781B #79981B #3B981B
triadic
#79981B #1B7998 #981B79
tetradic
#79981B #1B9878 #3A1B98 #981B3B
square
#79981B #1B9878 #3A1B98 #981B3B
split-complementary
#79981B #1B3B98 #781B98
monochromatic
#263009 #506412 #79981B #A2CC24 #BBE04E

Accessibility & contrast

On white

3.32
#79981B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#79981B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79981B
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79981B#FFFFFF#000000##000000
##79981B1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#7F9081
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #79981b;
/* rgb */ color: rgb(121, 152, 27);
/* oklch */ color: oklch(63.4% 0.147 123.5);
Tailwind
colors: {
  custom: {
    50: '#a3b664',
    500: '#79981b',
    950: '#000000',
  },
}
SCSS
$custom: #79981b;
$custom-light: #a3b664;
$custom-dark: #000000;
JSON
{
  "hex": "#79981b",
  "rgb": {
    "r": 121,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 74.88,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63376,
    "c": 0.14724,
    "h": 123.5
  },
  "luminance": 0.26601
}

Semantic roles & 50–950 ramp

primary
#79981B
secondary
#6A4DC2
accent
#3BED67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #79981B

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

Preview Lab → · Contrast checker → · Palette generator →

#79981B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva