#799228#799228

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

Color values

HEX#799228
RGBrgb(121, 146, 40)
HSLhsl(74, 57%, 36%)
HSVhsv(74, 73%, 57%)
CMYKcmyk(17.1%, 0%, 72.6%, 42.7%)
CIE-LABlab(56.86, -24.02, 50.31)
CIE-LCHlch(56.86, 55.75, 115.52°)
OKLaboklab(61.99% -0.0703 0.1125)
OKLCHoklch(61.99% 0.133 122)
XYZxyz(18.5473, 24.7759, 5.8122)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799228 #412892
analogous
#927628 #799228 #449228
triadic
#799228 #287992 #922879
tetradic
#799228 #289276 #412892 #922844
square
#799228 #289276 #412892 #922844
split-complementary
#799228 #284492 #762892
monochromatic
#29320E #51621B #799228 #A1C235 #B9D461

Accessibility & contrast

On white

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

On black

5.96
#799228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799228
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799228#FFFFFF#000000##000000
##7992281.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8915
Deuteranopia (green-blind)
#988831
Tritanopia (blue-blind)
#808A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799228;
/* rgb */ color: rgb(121, 146, 40);
/* oklch */ color: oklch(62.0% 0.133 122.0);
Tailwind
colors: {
  custom: {
    50: '#a3b269',
    500: '#799228',
    950: '#000000',
  },
}
SCSS
$custom: #799228;
$custom-light: #a3b269;
$custom-dark: #000000;
JSON
{
  "hex": "#799228",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 74.151,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.13261,
    "h": 122
  },
  "luminance": 0.24776
}

Semantic roles & 50–950 ramp

primary
#799228
secondary
#725DB9
accent
#48E06C
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #799228

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

Preview Lab → · Contrast checker → · Palette generator →

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