#799224#799224

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

Color values

HEX#799224
RGBrgb(121, 146, 36)
HSLhsl(74, 60%, 36%)
HSVhsv(74, 75%, 57%)
CMYKcmyk(17.1%, 0%, 75.3%, 42.7%)
CIE-LABlab(56.83, -24.25, 51.76)
CIE-LCHlch(56.83, 57.16, 115.10°)
OKLaboklab(61.96% -0.0713 0.1148)
OKLCHoklch(61.96% 0.135 121.8)
XYZxyz(18.4828, 24.7501, 5.4723)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799224 #3D2492
analogous
#927424 #799224 #429224
triadic
#799224 #247992 #922479
tetradic
#799224 #249274 #3D2492 #922442
square
#799224 #249274 #3D2492 #922442
split-complementary
#799224 #244292 #742492
monochromatic
#28300C #506118 #799224 #A2C330 #BAD65A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799224#FFFFFF#000000##000000
##7992241.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)
#9B890D
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#808A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799224;
/* rgb */ color: rgb(121, 146, 36);
/* oklch */ color: oklch(62.0% 0.135 121.8);
Tailwind
colors: {
  custom: {
    50: '#a3b267',
    500: '#799224',
    950: '#000000',
  },
}
SCSS
$custom: #799224;
$custom-light: #a3b267;
$custom-dark: #000000;
JSON
{
  "hex": "#799224",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 73.636,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61959,
    "c": 0.13515,
    "h": 121.8
  },
  "luminance": 0.2475
}

Semantic roles & 50–950 ramp

primary
#799224
secondary
#6E57BB
accent
#44E468
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #799224

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

Preview Lab → · Contrast checker → · Palette generator →

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