#798F1D#798F1D

#798F1D is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 61.2% C 0.135 H 120.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#798F1D
RGBrgb(121, 143, 29)
HSLhsl(72, 66%, 34%)
HSVhsv(72, 80%, 56%)
CMYKcmyk(15.4%, 0%, 79.7%, 43.9%)
CIE-LABlab(55.89, -23.09, 53.23)
CIE-LCHlch(55.89, 58.03, 113.45°)
OKLaboklab(61.18% -0.0687 0.1167)
OKLCHoklch(61.18% 0.135 120.5)
XYZxyz(17.9297, 23.7986, 4.8112)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F1D #331D8F
analogous
#8F6C1D #798F1D #408F1D
triadic
#798F1D #1D798F #8F1D79
tetradic
#798F1D #1D8F6C #331D8F #8F1D40
square
#798F1D #1D8F6C #331D8F #8F1D40
split-complementary
#798F1D #1D408F #6C1D8F
monochromatic
#232908 #4E5C13 #798F1D #A4C227 #BFDB4C

Accessibility & contrast

On white

3.65
#798F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#798F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F1D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F1D#FFFFFF#000000##000000
##798F1D1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#80877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798f1d;
/* rgb */ color: rgb(121, 143, 29);
/* oklch */ color: oklch(61.2% 0.135 120.5);
Tailwind
colors: {
  custom: {
    50: '#a3af64',
    500: '#798f1d',
    950: '#000000',
  },
}
SCSS
$custom: #798f1d;
$custom-light: #a3af64;
$custom-dark: #000000;
JSON
{
  "hex": "#798f1d",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 71.579,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61184,
    "c": 0.13542,
    "h": 120.5
  },
  "luminance": 0.23799
}

Semantic roles & 50–950 ramp

primary
#798F1D
secondary
#614BBD
accent
#3FE960
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798F1D

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

Preview Lab → · Contrast checker → · Palette generator →

#798F1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva