#799236#799236

#799236 is a light, vivid yellow-green. Relative luminance 0.249; OKLCH L 62.1% C 0.122 H 122.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#799236
RGBrgb(121, 146, 54)
HSLhsl(76, 46%, 39%)
HSVhsv(76, 63%, 57%)
CMYKcmyk(17.1%, 0%, 63%, 42.7%)
CIE-LABlab(56.97, -23.03, 44.55)
CIE-LCHlch(56.97, 50.15, 117.34°)
OKLaboklab(62.11% -0.0662 0.1024)
OKLCHoklch(62.11% 0.122 122.9)
XYZxyz(18.8301, 24.8890, 7.3014)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799236 #4F3692
analogous
#927D36 #799236 #4B9236
triadic
#799236 #367992 #923679
tetradic
#799236 #36927D #4F3692 #92364B
square
#799236 #36927D #4F3692 #92364B
split-complementary
#799236 #364B92 #7D3692
monochromatic
#2F3915 #546525 #799236 #9DBC49 #B5CC76

Accessibility & contrast

On white

3.51
#799236 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#799236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799236
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799236#FFFFFF#000000##000000
##7992361.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892B
Deuteranopia (green-blind)
#97893C
Tritanopia (blue-blind)
#7F8B7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #799236;
/* rgb */ color: rgb(121, 146, 54);
/* oklch */ color: oklch(62.1% 0.122 122.9);
Tailwind
colors: {
  custom: {
    50: '#a2b271',
    500: '#799236',
    950: '#000000',
  },
}
SCSS
$custom: #799236;
$custom-light: #a2b271;
$custom-dark: #000000;
JSON
{
  "hex": "#799236",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 54
  },
  "hsl": {
    "h": 76.304,
    "s": 46,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62112,
    "c": 0.12196,
    "h": 122.9
  },
  "luminance": 0.24889
}

Semantic roles & 50–950 ramp

primary
#799236
secondary
#826FB5
accent
#52D676
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #799236

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

Preview Lab → · Contrast checker → · Palette generator →

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