#798E13#798E13

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

Color values

HEX#798E13
RGBrgb(121, 142, 19)
HSLhsl(70, 76%, 32%)
HSVhsv(70, 87%, 56%)
CMYKcmyk(14.8%, 0%, 86.6%, 44.3%)
CIE-LABlab(55.54, -22.97, 55.70)
CIE-LCHlch(55.54, 60.25, 112.41°)
OKLaboklab(60.89% -0.069 0.1203)
OKLCHoklch(60.89% 0.139 119.9)
XYZxyz(17.6761, 23.4581, 4.2126)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E13 #28138E
analogous
#8E6613 #798E13 #3C8E13
triadic
#798E13 #13798E #8E1379
tetradic
#798E13 #138E66 #28138E #8E133C
square
#798E13 #138E66 #28138E #8E133C
split-complementary
#798E13 #133C8E #66138E
monochromatic
#1D2205 #4B580C #798E13 #A7C41A #C7E437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798E13#FFFFFF#000000##000000
##798E131.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: #798e13;
/* rgb */ color: rgb(121, 142, 19);
/* oklch */ color: oklch(60.9% 0.139 119.9);
Tailwind
colors: {
  custom: {
    50: '#a3af60',
    500: '#798e13',
    950: '#000000',
  },
}
SCSS
$custom: #798e13;
$custom-light: #a3af60;
$custom-dark: #000000;
JSON
{
  "hex": "#798e13",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 70.244,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60892,
    "c": 0.13867,
    "h": 119.9
  },
  "luminance": 0.23458
}

Semantic roles & 50–950 ramp

primary
#798E13
secondary
#523BC2
accent
#35F355
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #798E13

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

Preview Lab → · Contrast checker → · Palette generator →

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