#799031#799031

#799031 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.6% C 0.123 H 121.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#799031
RGBrgb(121, 144, 49)
HSLhsl(75, 49%, 38%)
HSVhsv(75, 66%, 56%)
CMYKcmyk(16%, 0%, 66%, 43.5%)
CIE-LABlab(56.32, -22.42, 46.08)
CIE-LCHlch(56.32, 51.24, 115.94°)
OKLaboklab(61.58% -0.065 0.105)
OKLCHoklch(61.58% 0.123 121.8)
XYZxyz(18.4130, 24.2332, 6.6126)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799031 #483190
analogous
#907731 #799031 #4A9031
triadic
#799031 #317990 #903179
tetradic
#799031 #319077 #483190 #90314A
square
#799031 #319077 #483190 #90314A
split-complementary
#799031 #314A90 #773190
monochromatic
#2C3512 #536221 #799031 #9FBE41 #B6CE6E

Accessibility & contrast

On white

3.59
#799031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#799031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799031
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799031#FFFFFF#000000##000000
##7990311.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998725
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#7F897C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #799031;
/* rgb */ color: rgb(121, 144, 49);
/* oklch */ color: oklch(61.6% 0.123 121.8);
Tailwind
colors: {
  custom: {
    50: '#a2b06e',
    500: '#799031',
    950: '#000000',
  },
}
SCSS
$custom: #799031;
$custom-light: #a2b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#799031",
  "rgb": {
    "r": 121,
    "g": 144,
    "b": 49
  },
  "hsl": {
    "h": 74.526,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61577,
    "c": 0.12345,
    "h": 121.8
  },
  "luminance": 0.24233
}

Semantic roles & 50–950 ramp

primary
#799031
secondary
#7A68B5
accent
#4FD970
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #799031

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

Preview Lab → · Contrast checker → · Palette generator →

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