#798F32#798F32

#798F32 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 61.3% C 0.121 H 121.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#798F32
RGBrgb(121, 143, 50)
HSLhsl(74, 48%, 38%)
HSVhsv(74, 65%, 56%)
CMYKcmyk(15.4%, 0%, 65%, 43.9%)
CIE-LABlab(56.03, -21.83, 45.33)
CIE-LCHlch(56.03, 50.31, 115.72°)
OKLaboklab(61.34% -0.0632 0.1035)
OKLCHoklch(61.34% 0.121 121.4)
XYZxyz(18.2836, 23.9402, 6.6747)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F32 #48328F
analogous
#8F7732 #798F32 #4A8F32
triadic
#798F32 #32798F #8F3279
tetradic
#798F32 #328F77 #48328F #8F324A
square
#798F32 #328F77 #48328F #8F324A
split-complementary
#798F32 #324A8F #77328F
monochromatic
#2C3412 #536222 #798F32 #9FBC42 #B6CD6F

Accessibility & contrast

On white

3.63
#798F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#798F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F32
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F32#FFFFFF#000000##000000
##798F321.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978726
Deuteranopia (green-blind)
#958639
Tritanopia (blue-blind)
#7F887C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798f32;
/* rgb */ color: rgb(121, 143, 50);
/* oklch */ color: oklch(61.3% 0.121 121.4);
Tailwind
colors: {
  custom: {
    50: '#a2af6f',
    500: '#798f32',
    950: '#000000',
  },
}
SCSS
$custom: #798f32;
$custom-light: #a2af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#798f32",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 74.194,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61344,
    "c": 0.12132,
    "h": 121.4
  },
  "luminance": 0.2394
}

Semantic roles & 50–950 ramp

primary
#798F32
secondary
#7A68B4
accent
#50D870
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798F32

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

Preview Lab → · Contrast checker → · Palette generator →

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