#798F13#798F13

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

Color values

HEX#798F13
RGBrgb(121, 143, 19)
HSLhsl(71, 77%, 32%)
HSVhsv(71, 87%, 56%)
CMYKcmyk(15.4%, 0%, 86.7%, 43.9%)
CIE-LABlab(55.84, -23.47, 55.96)
CIE-LCHlch(55.84, 60.68, 112.75°)
OKLaboklab(61.14% -0.0704 0.1208)
OKLCHoklch(61.14% 0.14 120.2)
XYZxyz(17.8255, 23.7570, 4.2624)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F13 #29138F
analogous
#8F6713 #798F13 #3B8F13
triadic
#798F13 #13798F #8F1379
tetradic
#798F13 #138F67 #29138F #8F133B
square
#798F13 #138F67 #29138F #8F133B
split-complementary
#798F13 #133B8F #67138F
monochromatic
#1E2305 #4B590C #798F13 #A7C51A #C6E538

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798F13#FFFFFF#000000##000000
##798F131.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)
#818779
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798f13;
/* rgb */ color: rgb(121, 143, 19);
/* oklch */ color: oklch(61.1% 0.140 120.2);
Tailwind
colors: {
  custom: {
    50: '#a3af60',
    500: '#798f13',
    950: '#000000',
  },
}
SCSS
$custom: #798f13;
$custom-light: #a3af60;
$custom-dark: #000000;
JSON
{
  "hex": "#798f13",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 19
  },
  "hsl": {
    "h": 70.645,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61136,
    "c": 0.13983,
    "h": 120.2
  },
  "luminance": 0.23757
}

Semantic roles & 50–950 ramp

primary
#798F13
secondary
#533BC3
accent
#35F356
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #798F13

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

Preview Lab → · Contrast checker → · Palette generator →

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