#799028#799028

#799028 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.5% C 0.130 H 121.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#799028
RGBrgb(121, 144, 40)
HSLhsl(73, 57%, 36%)
HSVhsv(73, 72%, 56%)
CMYKcmyk(16%, 0%, 72.2%, 43.5%)
CIE-LABlab(56.25, -23.02, 49.71)
CIE-LCHlch(56.25, 54.78, 114.85°)
OKLaboklab(61.5% -0.0675 0.1112)
OKLCHoklch(61.5% 0.13 121.3)
XYZxyz(18.2417, 24.1647, 5.7103)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799028 #3F2890
analogous
#907328 #799028 #459028
triadic
#799028 #287990 #902879
tetradic
#799028 #289073 #3F2890 #902845
square
#799028 #289073 #3F2890 #902845
split-complementary
#799028 #284590 #732890
monochromatic
#29300D #51601B #799028 #A1C035 #B9D360

Accessibility & contrast

On white

3.60
#799028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#799028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799028
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799028#FFFFFF#000000##000000
##7990281.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998716
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#80887C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #799028;
/* rgb */ color: rgb(121, 144, 40);
/* oklch */ color: oklch(61.5% 0.130 121.3);
Tailwind
colors: {
  custom: {
    50: '#a3b069',
    500: '#799028',
    950: '#000000',
  },
}
SCSS
$custom: #799028;
$custom-light: #a3b069;
$custom-dark: #000000;
JSON
{
  "hex": "#799028",
  "rgb": {
    "r": 121,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 73.269,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.615,
    "c": 0.13009,
    "h": 121.3
  },
  "luminance": 0.24165
}

Semantic roles & 50–950 ramp

primary
#799028
secondary
#705CB8
accent
#48E06A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #799028

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

Preview Lab → · Contrast checker → · Palette generator →

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