#799B27#799B27

#799B27 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.2% C 0.145 H 124.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#799B27
RGBrgb(121, 155, 39)
HSLhsl(78, 60%, 38%)
HSVhsv(78, 75%, 61%)
CMYKcmyk(21.9%, 0%, 74.8%, 39.2%)
CIE-LABlab(59.57, -28.49, 53.34)
CIE-LCHlch(59.57, 60.47, 118.11°)
OKLaboklab(64.18% -0.0826 0.1187)
OKLCHoklch(64.18% 0.145 124.9)
XYZxyz(19.9729, 27.6539, 6.2046)
Luminance0.2765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B27 #49279B
analogous
#9B8327 #799B27 #3F9B27
triadic
#799B27 #27799B #9B2779
tetradic
#799B27 #279B83 #49279B #9B273F
square
#799B27 #279B83 #49279B #9B273F
split-complementary
#799B27 #273F9B #83279B
monochromatic
#2D390E #536A1B #799B27 #9FCC33 #B6D864

Accessibility & contrast

On white

3.22
#799B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#799B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B27
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B27#FFFFFF#000000##000000
##799B271.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910F
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#7F9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799b27;
/* rgb */ color: rgb(121, 155, 39);
/* oklch */ color: oklch(64.2% 0.145 124.9);
Tailwind
colors: {
  custom: {
    50: '#a3b86a',
    500: '#799b27',
    950: '#000000',
  },
}
SCSS
$custom: #799b27;
$custom-light: #a3b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#799b27",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 39
  },
  "hsl": {
    "h": 77.586,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64183,
    "c": 0.1446,
    "h": 124.9
  },
  "luminance": 0.27654
}

Semantic roles & 50–950 ramp

primary
#799B27
secondary
#7B60BE
accent
#45E373
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799B27

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

Preview Lab → · Contrast checker → · Palette generator →

#799B27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva