#799225#799225

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

Color values

HEX#799225
RGBrgb(121, 146, 37)
HSLhsl(74, 60%, 36%)
HSVhsv(74, 75%, 57%)
CMYKcmyk(17.1%, 0%, 74.7%, 42.7%)
CIE-LABlab(56.84, -24.20, 51.41)
CIE-LCHlch(56.84, 56.82, 115.20°)
OKLaboklab(61.97% -0.071 0.1143)
OKLCHoklch(61.97% 0.135 121.9)
XYZxyz(18.4982, 24.7563, 5.5538)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799225 #3E2592
analogous
#927425 #799225 #439225
triadic
#799225 #257992 #922579
tetradic
#799225 #259274 #3E2592 #922543
square
#799225 #259274 #3E2592 #922543
split-complementary
#799225 #254392 #742592
monochromatic
#28300C #516119 #799225 #A1C331 #BAD65C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799225#FFFFFF#000000##000000
##7992251.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)
#9B890F
Deuteranopia (green-blind)
#98882F
Tritanopia (blue-blind)
#808A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799225;
/* rgb */ color: rgb(121, 146, 37);
/* oklch */ color: oklch(62.0% 0.135 121.9);
Tailwind
colors: {
  custom: {
    50: '#a3b268',
    500: '#799225',
    950: '#000000',
  },
}
SCSS
$custom: #799225;
$custom-light: #a3b268;
$custom-dark: #000000;
JSON
{
  "hex": "#799225",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 73.761,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.13455,
    "h": 121.9
  },
  "luminance": 0.24756
}

Semantic roles & 50–950 ramp

primary
#799225
secondary
#6F58BA
accent
#45E369
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #799225

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

Preview Lab → · Contrast checker → · Palette generator →

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