#799338#799338

#799338 is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.4% C 0.122 H 123.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#799338
RGBrgb(121, 147, 56)
HSLhsl(77, 45%, 40%)
HSVhsv(77, 62%, 58%)
CMYKcmyk(17.7%, 0%, 61.9%, 42.4%)
CIE-LABlab(57.29, -23.37, 43.99)
CIE-LCHlch(57.29, 49.81, 117.98°)
OKLaboklab(62.38% -0.0669 0.1015)
OKLCHoklch(62.38% 0.122 123.4)
XYZxyz(19.0328, 25.2178, 7.6054)
Luminance0.2522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799338 #523893
analogous
#938038 #799338 #4B9338
triadic
#799338 #387993 #933879
tetradic
#799338 #389380 #523893 #93384B
square
#799338 #389380 #523893 #93384B
split-complementary
#799338 #384B93 #803893
monochromatic
#303A16 #556727 #799338 #9CBB4D #B4CC79

Accessibility & contrast

On white

3.47
#799338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#799338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799338
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799338#FFFFFF#000000##000000
##7993381.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2E
Deuteranopia (green-blind)
#98893E
Tritanopia (blue-blind)
#7F8C80
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #799338;
/* rgb */ color: rgb(121, 147, 56);
/* oklch */ color: oklch(62.4% 0.122 123.4);
Tailwind
colors: {
  custom: {
    50: '#a2b272',
    500: '#799338',
    950: '#000000',
  },
}
SCSS
$custom: #799338;
$custom-light: #a2b272;
$custom-dark: #000000;
JSON
{
  "hex": "#799338",
  "rgb": {
    "r": 121,
    "g": 147,
    "b": 56
  },
  "hsl": {
    "h": 77.143,
    "s": 44.828,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62376,
    "c": 0.12159,
    "h": 123.4
  },
  "luminance": 0.25218
}

Semantic roles & 50–950 ramp

primary
#799338
secondary
#8572B5
accent
#53D578
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799338

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

Preview Lab → · Contrast checker → · Palette generator →

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