#799428#799428

#799428 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.5% C 0.135 H 122.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#799428
RGBrgb(121, 148, 40)
HSLhsl(75, 57%, 37%)
HSVhsv(75, 73%, 58%)
CMYKcmyk(18.2%, 0%, 73%, 42%)
CIE-LABlab(57.46, -25.02, 50.91)
CIE-LCHlch(57.46, 56.72, 116.17°)
OKLaboklab(62.48% -0.073 0.1137)
OKLCHoklch(62.48% 0.135 122.7)
XYZxyz(18.8583, 25.3979, 5.9158)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799428 #432894
analogous
#947928 #799428 #439428
triadic
#799428 #287994 #942879
tetradic
#799428 #289479 #432894 #942843
square
#799428 #289479 #432894 #942843
split-complementary
#799428 #284394 #792894
monochromatic
#2A340E #52641B #799428 #A0C435 #B8D562

Accessibility & contrast

On white

3.45
#799428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#799428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799428
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799428#FFFFFF#000000##000000
##7994281.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B15
Deuteranopia (green-blind)
#998A31
Tritanopia (blue-blind)
#7F8C7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #799428;
/* rgb */ color: rgb(121, 148, 40);
/* oklch */ color: oklch(62.5% 0.135 122.7);
Tailwind
colors: {
  custom: {
    50: '#a3b36a',
    500: '#799428',
    950: '#000000',
  },
}
SCSS
$custom: #799428;
$custom-light: #a3b36a;
$custom-dark: #000000;
JSON
{
  "hex": "#799428",
  "rgb": {
    "r": 121,
    "g": 148,
    "b": 40
  },
  "hsl": {
    "h": 75,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62475,
    "c": 0.13514,
    "h": 122.7
  },
  "luminance": 0.25398
}

Semantic roles & 50–950 ramp

primary
#799428
secondary
#755EBA
accent
#47E16E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799428

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

Preview Lab → · Contrast checker → · Palette generator →

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