#798E16#798E16

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

Color values

HEX#798E16
RGBrgb(121, 142, 22)
HSLhsl(71, 73%, 32%)
HSVhsv(71, 85%, 56%)
CMYKcmyk(14.8%, 0%, 84.5%, 44.3%)
CIE-LABlab(55.55, -22.87, 54.96)
CIE-LCHlch(55.55, 59.53, 112.59°)
OKLaboklab(60.91% -0.0686 0.1192)
OKLCHoklch(60.91% 0.137 119.9)
XYZxyz(17.7034, 23.4690, 4.3562)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E16 #2B168E
analogous
#8E6716 #798E16 #3D8E16
triadic
#798E16 #16798E #8E1679
tetradic
#798E16 #168E67 #2B168E #8E163D
square
#798E16 #168E67 #2B168E #8E163D
split-complementary
#798E16 #163D8E #67168E
monochromatic
#1F2406 #4C590E #798E16 #A6C31E #C4E13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798E16#FFFFFF#000000##000000
##798E161.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)
#958523
Tritanopia (blue-blind)
#818679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798e16;
/* rgb */ color: rgb(121, 142, 22);
/* oklch */ color: oklch(60.9% 0.137 119.9);
Tailwind
colors: {
  custom: {
    50: '#a3af61',
    500: '#798e16',
    950: '#000000',
  },
}
SCSS
$custom: #798e16;
$custom-light: #a3af61;
$custom-dark: #000000;
JSON
{
  "hex": "#798e16",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 70.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60905,
    "c": 0.13749,
    "h": 119.9
  },
  "luminance": 0.23469
}

Semantic roles & 50–950 ramp

primary
#798E16
secondary
#563FC1
accent
#38F058
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #798E16

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

Preview Lab → · Contrast checker → · Palette generator →

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