#798F14#798F14

#798F14 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 61.1% C 0.139 H 120.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#798F14
RGBrgb(121, 143, 20)
HSLhsl(71, 75%, 32%)
HSVhsv(71, 86%, 56%)
CMYKcmyk(15.4%, 0%, 86%, 43.9%)
CIE-LABlab(55.85, -23.44, 55.72)
CIE-LCHlch(55.85, 60.45, 112.81°)
OKLaboklab(61.14% -0.0702 0.1205)
OKLCHoklch(61.14% 0.139 120.2)
XYZxyz(17.8343, 23.7604, 4.3084)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F14 #2A148F
analogous
#8F6814 #798F14 #3B8F14
triadic
#798F14 #14798F #8F1479
tetradic
#798F14 #148F68 #2A148F #8F143B
square
#798F14 #148F68 #2A148F #8F143B
split-complementary
#798F14 #143B8F #68148F
monochromatic
#1E2405 #4C590C #798F14 #A6C51C #C5E33A

Accessibility & contrast

On white

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

On black

5.75
#798F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F14
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F14#FFFFFF#000000##000000
##798F141.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#968622
Tritanopia (blue-blind)
#81877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798f14;
/* rgb */ color: rgb(121, 143, 20);
/* oklch */ color: oklch(61.1% 0.139 120.2);
Tailwind
colors: {
  custom: {
    50: '#a3af60',
    500: '#798f14',
    950: '#000000',
  },
}
SCSS
$custom: #798f14;
$custom-light: #a3af60;
$custom-dark: #000000;
JSON
{
  "hex": "#798f14",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 70.732,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.6114,
    "c": 0.13946,
    "h": 120.2
  },
  "luminance": 0.2376
}

Semantic roles & 50–950 ramp

primary
#798F14
secondary
#543CC3
accent
#36F257
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #798F14

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

Preview Lab → · Contrast checker → · Palette generator →

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