#799018#799018

#799018 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.4% C 0.139 H 120.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#799018
RGBrgb(121, 144, 24)
HSLhsl(72, 71%, 33%)
HSVhsv(72, 83%, 56%)
CMYKcmyk(16%, 0%, 83.3%, 43.5%)
CIE-LABlab(56.17, -23.80, 54.96)
CIE-LCHlch(56.17, 59.89, 113.42°)
OKLaboklab(61.4% -0.071 0.1195)
OKLCHoklch(61.4% 0.139 120.7)
XYZxyz(18.0236, 24.0775, 4.5619)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799018 #2F1890
analogous
#906B18 #799018 #3D9018
triadic
#799018 #187990 #901879
tetradic
#799018 #18906B #2F1890 #90183D
square
#799018 #18906B #2F1890 #90183D
split-complementary
#799018 #183D90 #6B1890
monochromatic
#212707 #4D5C0F #799018 #A5C421 #C2E043

Accessibility & contrast

On white

3.61
#799018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#799018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799018
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799018#FFFFFF#000000##000000
##7990181.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#80887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #799018;
/* rgb */ color: rgb(121, 144, 24);
/* oklch */ color: oklch(61.4% 0.139 120.7);
Tailwind
colors: {
  custom: {
    50: '#a3b062',
    500: '#799018',
    950: '#000000',
  },
}
SCSS
$custom: #799018;
$custom-light: #a3b062;
$custom-dark: #000000;
JSON
{
  "hex": "#799018",
  "rgb": {
    "r": 121,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 71.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61402,
    "c": 0.13899,
    "h": 120.7
  },
  "luminance": 0.24077
}

Semantic roles & 50–950 ramp

primary
#799018
secondary
#5B43C0
accent
#3AEE5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #799018

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

Preview Lab → · Contrast checker → · Palette generator →

#799018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva