#799D25#799D25

#799D25 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.7% C 0.148 H 125.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#799D25
RGBrgb(121, 157, 37)
HSLhsl(78, 62%, 38%)
HSVhsv(78, 76%, 62%)
CMYKcmyk(22.9%, 0%, 76.4%, 38.4%)
CIE-LABlab(60.17, -29.56, 54.61)
CIE-LCHlch(60.17, 62.09, 118.43°)
OKLaboklab(64.66% -0.0857 0.121)
OKLCHoklch(64.66% 0.148 125.3)
XYZxyz(20.2762, 28.3122, 6.1465)
Luminance0.2831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D25 #49259D
analogous
#9D8525 #799D25 #3D9D25
triadic
#799D25 #25799D #9D2579
tetradic
#799D25 #259D85 #49259D #9D253D
square
#799D25 #259D85 #49259D #9D253D
split-complementary
#799D25 #253D9D #85259D
monochromatic
#2D3A0E #536B19 #799D25 #9FCE31 #B6DA62

Accessibility & contrast

On white

3.15
#799D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#799D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D25
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D25#FFFFFF#000000##000000
##799D251.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69208
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#7F9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d25;
/* rgb */ color: rgb(121, 157, 37);
/* oklch */ color: oklch(64.7% 0.148 125.3);
Tailwind
colors: {
  custom: {
    50: '#a3ba69',
    500: '#799d25',
    950: '#000000',
  },
}
SCSS
$custom: #799d25;
$custom-light: #a3ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#799d25",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 37
  },
  "hsl": {
    "h": 78,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64661,
    "c": 0.14828,
    "h": 125.3
  },
  "luminance": 0.28312
}

Semantic roles & 50–950 ramp

primary
#799D25
secondary
#7B5EBF
accent
#43E573
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799D25

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

Preview Lab → · Contrast checker → · Palette generator →

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