#799E23#799E23

#799E23 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.151 H 125.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#799E23
RGBrgb(121, 158, 35)
HSLhsl(78, 64%, 38%)
HSVhsv(78, 78%, 62%)
CMYKcmyk(23.4%, 0%, 77.8%, 38%)
CIE-LABlab(60.46, -30.14, 55.55)
CIE-LCHlch(60.46, 63.20, 118.48°)
OKLaboklab(64.89% -0.0875 0.1226)
OKLCHoklch(64.89% 0.151 125.5)
XYZxyz(20.4155, 28.6397, 6.0422)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E23 #48239E
analogous
#9E8623 #799E23 #3B9E23
triadic
#799E23 #23799E #9E2379
tetradic
#799E23 #239E86 #48239E #9E233B
square
#799E23 #239E86 #48239E #9E233B
split-complementary
#799E23 #233B9E #86239E
monochromatic
#2C3A0D #536C18 #799E23 #9FD02E #B6DC60

Accessibility & contrast

On white

3.12
#799E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#799E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799E23
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799E23#FFFFFF#000000##000000
##799E231.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79302
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#7F9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799e23;
/* rgb */ color: rgb(121, 158, 35);
/* oklch */ color: oklch(64.9% 0.151 125.5);
Tailwind
colors: {
  custom: {
    50: '#a3ba68',
    500: '#799e23',
    950: '#000000',
  },
}
SCSS
$custom: #799e23;
$custom-light: #a3ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#799e23",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 78.049,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64894,
    "c": 0.15062,
    "h": 125.5
  },
  "luminance": 0.2864
}

Semantic roles & 50–950 ramp

primary
#799E23
secondary
#7A5CC1
accent
#41E773
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799E23

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

Preview Lab → · Contrast checker → · Palette generator →

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