#799121#799121

#799121 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.7% C 0.136 H 121.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#799121
RGBrgb(121, 145, 33)
HSLhsl(73, 63%, 35%)
HSVhsv(73, 77%, 57%)
CMYKcmyk(16.6%, 0%, 77.2%, 43.1%)
CIE-LABlab(56.51, -23.91, 52.50)
CIE-LCHlch(56.51, 57.69, 114.48°)
OKLaboklab(61.7% -0.0706 0.1159)
OKLCHoklch(61.7% 0.136 121.3)
XYZxyz(18.2854, 24.4256, 5.1898)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799121 #392191
analogous
#917121 #799121 #419121
triadic
#799121 #217991 #912179
tetradic
#799121 #219171 #392191 #912141
square
#799121 #219171 #392191 #912141
split-complementary
#799121 #214191 #712191
monochromatic
#262D0A #4F5F16 #799121 #A3C32C #BCD854

Accessibility & contrast

On white

3.57
#799121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#799121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799121
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799121#FFFFFF#000000##000000
##7991211.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8805
Deuteranopia (green-blind)
#97882B
Tritanopia (blue-blind)
#80897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799121;
/* rgb */ color: rgb(121, 145, 33);
/* oklch */ color: oklch(61.7% 0.136 121.3);
Tailwind
colors: {
  custom: {
    50: '#a3b166',
    500: '#799121',
    950: '#000000',
  },
}
SCSS
$custom: #799121;
$custom-light: #a3b166;
$custom-dark: #000000;
JSON
{
  "hex": "#799121",
  "rgb": {
    "r": 121,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 72.857,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61695,
    "c": 0.13568,
    "h": 121.3
  },
  "luminance": 0.24426
}

Semantic roles & 50–950 ramp

primary
#799121
secondary
#6952BC
accent
#42E665
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #799121

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

Preview Lab → · Contrast checker → · Palette generator →

#799121 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva