#799226#799226

#799226 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 62.0% C 0.134 H 121.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#799226
RGBrgb(121, 146, 38)
HSLhsl(74, 59%, 36%)
HSVhsv(74, 74%, 57%)
CMYKcmyk(17.1%, 0%, 74%, 42.7%)
CIE-LABlab(56.84, -24.14, 51.05)
CIE-LCHlch(56.84, 56.47, 115.31°)
OKLaboklab(61.97% -0.0708 0.1137)
OKLCHoklch(61.97% 0.134 121.9)
XYZxyz(18.5142, 24.7626, 5.6376)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799226 #3F2692
analogous
#927526 #799226 #439226
triadic
#799226 #267992 #922679
tetradic
#799226 #269275 #3F2692 #922643
square
#799226 #269275 #3F2692 #922643
split-complementary
#799226 #264392 #752692
monochromatic
#29310D #516119 #799226 #A1C333 #B9D55D

Accessibility & contrast

On white

3.53
#799226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#799226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799226
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799226#FFFFFF#000000##000000
##7992261.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8911
Deuteranopia (green-blind)
#98882F
Tritanopia (blue-blind)
#808A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799226;
/* rgb */ color: rgb(121, 146, 38);
/* oklch */ color: oklch(62.0% 0.134 121.9);
Tailwind
colors: {
  custom: {
    50: '#a3b268',
    500: '#799226',
    950: '#000000',
  },
}
SCSS
$custom: #799226;
$custom-light: #a3b268;
$custom-dark: #000000;
JSON
{
  "hex": "#799226",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 73.889,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61973,
    "c": 0.13391,
    "h": 121.9
  },
  "luminance": 0.24763
}

Semantic roles & 50–950 ramp

primary
#799226
secondary
#705ABA
accent
#46E26A
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #799226

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

Preview Lab → · Contrast checker → · Palette generator →

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