#798E14#798E14

#798E14 is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.9% C 0.138 H 119.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#798E14
RGBrgb(121, 142, 20)
HSLhsl(70, 75%, 32%)
HSVhsv(70, 86%, 56%)
CMYKcmyk(14.8%, 0%, 85.9%, 44.3%)
CIE-LABlab(55.54, -22.94, 55.46)
CIE-LCHlch(55.54, 60.02, 112.47°)
OKLaboklab(60.9% -0.0689 0.1199)
OKLCHoklch(60.9% 0.138 119.9)
XYZxyz(17.6848, 23.4615, 4.2586)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E14 #29148E
analogous
#8E6614 #798E14 #3C8E14
triadic
#798E14 #14798E #8E1479
tetradic
#798E14 #148E66 #29148E #8E143C
square
#798E14 #148E66 #29148E #8E143C
split-complementary
#798E14 #143C8E #66148E
monochromatic
#1E2305 #4B580C #798E14 #A7C41C #C6E339

Accessibility & contrast

On white

3.69
#798E14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#798E14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E14
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E14#FFFFFF#000000##000000
##798E141.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#958522
Tritanopia (blue-blind)
#818679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798e14;
/* rgb */ color: rgb(121, 142, 20);
/* oklch */ color: oklch(60.9% 0.138 119.9);
Tailwind
colors: {
  custom: {
    50: '#a3af60',
    500: '#798e14',
    950: '#000000',
  },
}
SCSS
$custom: #798e14;
$custom-light: #a3af60;
$custom-dark: #000000;
JSON
{
  "hex": "#798e14",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 70.328,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.13829,
    "h": 119.9
  },
  "luminance": 0.23461
}

Semantic roles & 50–950 ramp

primary
#798E14
secondary
#533CC2
accent
#36F256
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #798E14

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

Preview Lab → · Contrast checker → · Palette generator →

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