#799A27#799A27

#799A27 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.9% C 0.143 H 124.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#799A27
RGBrgb(121, 154, 39)
HSLhsl(77, 60%, 38%)
HSVhsv(77, 75%, 60%)
CMYKcmyk(21.4%, 0%, 74.7%, 39.6%)
CIE-LABlab(59.27, -28.01, 53.05)
CIE-LCHlch(59.27, 59.99, 117.84°)
OKLaboklab(63.94% -0.0813 0.118)
OKLCHoklch(63.94% 0.143 124.6)
XYZxyz(19.8071, 27.3224, 6.1493)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A27 #48279A
analogous
#9A8127 #799A27 #409A27
triadic
#799A27 #27799A #9A2779
tetradic
#799A27 #279A81 #48279A #9A2740
square
#799A27 #279A81 #48279A #9A2740
split-complementary
#799A27 #27409A #81279A
monochromatic
#2C380E #53691B #799A27 #9FCB33 #B6D864

Accessibility & contrast

On white

3.25
#799A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#799A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A27
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A27#FFFFFF#000000##000000
##799A271.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39010
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#7F9284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a27;
/* rgb */ color: rgb(121, 154, 39);
/* oklch */ color: oklch(63.9% 0.143 124.6);
Tailwind
colors: {
  custom: {
    50: '#a3b86a',
    500: '#799a27',
    950: '#000000',
  },
}
SCSS
$custom: #799a27;
$custom-light: #a3b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#799a27",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 39
  },
  "hsl": {
    "h": 77.217,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63937,
    "c": 0.14334,
    "h": 124.6
  },
  "luminance": 0.27323
}

Semantic roles & 50–950 ramp

primary
#799A27
secondary
#7A5FBD
accent
#45E372
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799A27

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

Preview Lab → · Contrast checker → · Palette generator →

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