#799A28#799A28

#799A28 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.47:1 contrast (WCAG AA passes).

Color values

HEX#799A28
RGBrgb(121, 154, 40)
HSLhsl(77, 59%, 38%)
HSVhsv(77, 74%, 60%)
CMYKcmyk(21.4%, 0%, 74%, 39.6%)
CIE-LABlab(59.28, -27.95, 52.69)
CIE-LCHlch(59.28, 59.65, 117.95°)
OKLaboklab(63.94% -0.0811 0.1175)
OKLCHoklch(63.94% 0.143 124.6)
XYZxyz(19.8239, 27.3291, 6.2377)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A28 #49289A
analogous
#9A8228 #799A28 #409A28
triadic
#799A28 #28799A #9A2879
tetradic
#799A28 #289A82 #49289A #9A2840
square
#799A28 #289A82 #49289A #9A2840
split-complementary
#799A28 #28409A #82289A
monochromatic
#2D390F #53691B #799A28 #9FCA35 #B6D765

Accessibility & contrast

On white

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

On black

6.47
#799A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A28
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A28#FFFFFF#000000##000000
##799A281.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #799a28;
/* rgb */ color: rgb(121, 154, 40);
/* oklch */ color: oklch(63.9% 0.143 124.6);
Tailwind
colors: {
  custom: {
    50: '#a3b86a',
    500: '#799a28',
    950: '#000000',
  },
}
SCSS
$custom: #799a28;
$custom-light: #a3b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#799a28",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 77.368,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63944,
    "c": 0.14273,
    "h": 124.6
  },
  "luminance": 0.27329
}

Semantic roles & 50–950 ramp

primary
#799A28
secondary
#7B61BD
accent
#46E273
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799A28

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

Preview Lab → · Contrast checker → · Palette generator →

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