#798D43#798D43

#798D43 is a mid, moderate yellow-green. Relative luminance 0.235; OKLCH L 61.1% C 0.103 H 122.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#798D43
RGBrgb(121, 141, 67)
HSLhsl(76, 36%, 41%)
HSVhsv(76, 52%, 55%)
CMYKcmyk(14.2%, 0%, 52.5%, 44.7%)
CIE-LABlab(55.60, -19.27, 36.73)
CIE-LCHlch(55.60, 41.48, 117.69°)
OKLaboklab(61.06% -0.0544 0.0871)
OKLCHoklch(61.06% 0.103 122)
XYZxyz(18.4232, 23.5199, 8.8783)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D43 #57438D
analogous
#8D7C43 #798D43 #548D43
triadic
#798D43 #43798D #8D4379
tetradic
#798D43 #438D7C #57438D #8D4354
square
#798D43 #438D7C #57438D #8D4354
split-complementary
#798D43 #43548D #7C438D
monochromatic
#323A1C #55642F #798D43 #9AB15C #B4C585

Accessibility & contrast

On white

3.68
#798D43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#798D43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D43
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D43#FFFFFF#000000##000000
##798D431.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94863C
Deuteranopia (green-blind)
#928547
Tritanopia (blue-blind)
#7E877C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798d43;
/* rgb */ color: rgb(121, 141, 67);
/* oklch */ color: oklch(61.1% 0.103 122.0);
Tailwind
colors: {
  custom: {
    50: '#a1ae79',
    500: '#798d43',
    950: '#000000',
  },
}
SCSS
$custom: #798d43;
$custom-light: #a1ae79;
$custom-dark: #000000;
JSON
{
  "hex": "#798d43",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 67
  },
  "hsl": {
    "h": 76.216,
    "s": 35.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6106,
    "c": 0.10266,
    "h": 122
  },
  "luminance": 0.2352
}

Semantic roles & 50–950 ramp

primary
#798D43
secondary
#8A7CB0
accent
#5CCC7A
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #798D43

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

Preview Lab → · Contrast checker → · Palette generator →

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