#799B30#799B30

#799B30 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.139 H 125.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#799B30
RGBrgb(121, 155, 48)
HSLhsl(79, 53%, 40%)
HSVhsv(79, 69%, 61%)
CMYKcmyk(21.9%, 0%, 69%, 39.2%)
CIE-LABlab(59.64, -27.93, 49.96)
CIE-LCHlch(59.64, 57.24, 119.20°)
OKLaboklab(64.25% -0.0803 0.113)
OKLCHoklch(64.25% 0.139 125.4)
XYZxyz(20.1401, 27.7208, 7.0853)
Luminance0.2772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B30 #52309B
analogous
#9B8730 #799B30 #449B30
triadic
#799B30 #30799B #9B3079
tetradic
#799B30 #309B87 #52309B #9B3044
square
#799B30 #309B87 #52309B #9B3044
split-complementary
#799B30 #30449B #87309B
monochromatic
#303E13 #556C22 #799B30 #9CC543 #B4D372

Accessibility & contrast

On white

3.21
#799B30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#799B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B30
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B30#FFFFFF#000000##000000
##799B301.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39120
Deuteranopia (green-blind)
#9F8F39
Tritanopia (blue-blind)
#7E9486
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b30;
/* rgb */ color: rgb(121, 155, 48);
/* oklch */ color: oklch(64.3% 0.139 125.4);
Tailwind
colors: {
  custom: {
    50: '#a3b86f',
    500: '#799b30',
    950: '#000000',
  },
}
SCSS
$custom: #799b30;
$custom-light: #a3b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#799b30",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 48
  },
  "hsl": {
    "h": 79.065,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64251,
    "c": 0.13863,
    "h": 125.4
  },
  "luminance": 0.27721
}

Semantic roles & 50–950 ramp

primary
#799B30
secondary
#856CBB
accent
#4CDC7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799B30

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

Preview Lab → · Contrast checker → · Palette generator →

#799B30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva