#798E32#798E32

#798E32 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 61.1% C 0.120 H 121.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#798E32
RGBrgb(121, 142, 50)
HSLhsl(74, 48%, 38%)
HSVhsv(74, 65%, 56%)
CMYKcmyk(14.8%, 0%, 64.8%, 44.3%)
CIE-LABlab(55.73, -21.32, 45.00)
CIE-LCHlch(55.73, 49.80, 115.35°)
OKLaboklab(61.1% -0.0618 0.1029)
OKLCHoklch(61.1% 0.12 121)
XYZxyz(18.1341, 23.6413, 6.6249)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E32 #47328E
analogous
#8E7532 #798E32 #4B8E32
triadic
#798E32 #32798E #8E3279
tetradic
#798E32 #328E75 #47328E #8E324B
square
#798E32 #328E75 #47328E #8E324B
split-complementary
#798E32 #324B8E #75328E
monochromatic
#2C3312 #526122 #798E32 #A0BB42 #B7CC6E

Accessibility & contrast

On white

3.67
#798E32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#798E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E32
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E32#FFFFFF#000000##000000
##798E321.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978626
Deuteranopia (green-blind)
#948639
Tritanopia (blue-blind)
#7F877B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798e32;
/* rgb */ color: rgb(121, 142, 50);
/* oklch */ color: oklch(61.1% 0.120 121.0);
Tailwind
colors: {
  custom: {
    50: '#a2af6e',
    500: '#798e32',
    950: '#000000',
  },
}
SCSS
$custom: #798e32;
$custom-light: #a2af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#798e32",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 50
  },
  "hsl": {
    "h": 73.696,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61101,
    "c": 0.12,
    "h": 121
  },
  "luminance": 0.23641
}

Semantic roles & 50–950 ramp

primary
#798E32
secondary
#7968B4
accent
#50D86F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798E32

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

Preview Lab → · Contrast checker → · Palette generator →

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