#799128#799128

#799128 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.7% C 0.131 H 121.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#799128
RGBrgb(121, 145, 40)
HSLhsl(74, 57%, 36%)
HSVhsv(74, 72%, 57%)
CMYKcmyk(16.6%, 0%, 72.4%, 43.1%)
CIE-LABlab(56.55, -23.52, 50.01)
CIE-LCHlch(56.55, 55.27, 115.19°)
OKLaboklab(61.74% -0.0689 0.1118)
OKLCHoklch(61.74% 0.131 121.6)
XYZxyz(18.3938, 24.4689, 5.7610)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799128 #402891
analogous
#917528 #799128 #459128
triadic
#799128 #287991 #912879
tetradic
#799128 #289175 #402891 #912845
square
#799128 #289175 #402891 #912845
split-complementary
#799128 #284591 #752891
monochromatic
#29310E #51611B #799128 #A1C135 #B9D360

Accessibility & contrast

On white

3.56
#799128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#799128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799128
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799128#FFFFFF#000000##000000
##7991281.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8816
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#80897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799128;
/* rgb */ color: rgb(121, 145, 40);
/* oklch */ color: oklch(61.7% 0.131 121.6);
Tailwind
colors: {
  custom: {
    50: '#a3b169',
    500: '#799128',
    950: '#000000',
  },
}
SCSS
$custom: #799128;
$custom-light: #a3b169;
$custom-dark: #000000;
JSON
{
  "hex": "#799128",
  "rgb": {
    "r": 121,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 73.714,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61744,
    "c": 0.13135,
    "h": 121.6
  },
  "luminance": 0.24469
}

Semantic roles & 50–950 ramp

primary
#799128
secondary
#715CB9
accent
#48E06B
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #799128

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

Preview Lab → · Contrast checker → · Palette generator →

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