#799131#799131

#799131 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.8% C 0.125 H 122.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#799131
RGBrgb(121, 145, 49)
HSLhsl(75, 49%, 38%)
HSVhsv(75, 66%, 57%)
CMYKcmyk(16.6%, 0%, 66.2%, 43.1%)
CIE-LABlab(56.62, -22.92, 46.40)
CIE-LCHlch(56.62, 51.75, 116.29°)
OKLaboklab(61.82% -0.0664 0.1056)
OKLCHoklch(61.82% 0.125 122.1)
XYZxyz(18.5651, 24.5375, 6.6633)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799131 #493191
analogous
#917931 #799131 #499131
triadic
#799131 #317991 #913179
tetradic
#799131 #319179 #493191 #913149
square
#799131 #319179 #493191 #913149
split-complementary
#799131 #314991 #793191
monochromatic
#2D3612 #536322 #799131 #9FBF41 #B6CE6E

Accessibility & contrast

On white

3.55
#799131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#799131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799131
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799131#FFFFFF#000000##000000
##7991311.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8824
Deuteranopia (green-blind)
#968838
Tritanopia (blue-blind)
#7F8A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799131;
/* rgb */ color: rgb(121, 145, 49);
/* oklch */ color: oklch(61.8% 0.125 122.1);
Tailwind
colors: {
  custom: {
    50: '#a2b16e',
    500: '#799131',
    950: '#000000',
  },
}
SCSS
$custom: #799131;
$custom-light: #a2b16e;
$custom-dark: #000000;
JSON
{
  "hex": "#799131",
  "rgb": {
    "r": 121,
    "g": 145,
    "b": 49
  },
  "hsl": {
    "h": 75,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6182,
    "c": 0.12476,
    "h": 122.1
  },
  "luminance": 0.24537
}

Semantic roles & 50–950 ramp

primary
#799131
secondary
#7B68B6
accent
#4FD971
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #799131

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

Preview Lab → · Contrast checker → · Palette generator →

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