#79912E#79912E

#79912E is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.8% C 0.127 H 122.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#79912E
RGBrgb(121, 145, 46)
HSLhsl(75, 52%, 37%)
HSVhsv(75, 68%, 57%)
CMYKcmyk(16.6%, 0%, 68.3%, 43.1%)
CIE-LABlab(56.60, -23.14, 47.65)
CIE-LCHlch(56.60, 52.97, 115.90°)
OKLaboklab(61.79% -0.0673 0.1078)
OKLCHoklch(61.79% 0.127 122)
XYZxyz(18.5039, 24.5130, 6.3409)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79912E #462E91
analogous
#91772E #79912E #48912E
triadic
#79912E #2E7991 #912E79
tetradic
#79912E #2E9177 #462E91 #912E48
square
#79912E #2E9177 #462E91 #912E48
split-complementary
#79912E #2E4891 #772E91
monochromatic
#2B3411 #52631F #79912E #A0BF3D #B7D06A

Accessibility & contrast

On white

3.56
#79912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#79912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79912E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79912E#FFFFFF#000000##000000
##79912E1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8820
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#7F8A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #79912e;
/* rgb */ color: rgb(121, 145, 46);
/* oklch */ color: oklch(61.8% 0.127 122.0);
Tailwind
colors: {
  custom: {
    50: '#a2b16c',
    500: '#79912e',
    950: '#000000',
  },
}
SCSS
$custom: #79912e;
$custom-light: #a2b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#79912e",
  "rgb": {
    "r": 121,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 74.545,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61793,
    "c": 0.12709,
    "h": 122
  },
  "luminance": 0.24513
}

Semantic roles & 50–950 ramp

primary
#79912E
secondary
#7864B7
accent
#4DDB6F
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #79912E

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

Preview Lab → · Contrast checker → · Palette generator →

#79912E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva