#799D23#799D23

#799D23 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.6% C 0.149 H 125.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#799D23
RGBrgb(121, 157, 35)
HSLhsl(78, 64%, 38%)
HSVhsv(78, 78%, 62%)
CMYKcmyk(22.9%, 0%, 77.7%, 38.4%)
CIE-LABlab(60.16, -29.66, 55.26)
CIE-LCHlch(60.16, 62.72, 118.23°)
OKLaboklab(64.65% -0.0862 0.122)
OKLCHoklch(64.65% 0.149 125.2)
XYZxyz(20.2457, 28.3000, 5.9856)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D23 #47239D
analogous
#9D8423 #799D23 #3C9D23
triadic
#799D23 #23799D #9D2379
tetradic
#799D23 #239D84 #47239D #9D233C
square
#799D23 #239D84 #47239D #9D233C
split-complementary
#799D23 #233C9D #84239D
monochromatic
#2C390D #526B18 #799D23 #A0CF2E #B7DB5F

Accessibility & contrast

On white

3.15
#799D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#799D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D23
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D23#FFFFFF#000000##000000
##799D231.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69202
Deuteranopia (green-blind)
#A1912F
Tritanopia (blue-blind)
#7F9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d23;
/* rgb */ color: rgb(121, 157, 35);
/* oklch */ color: oklch(64.6% 0.149 125.2);
Tailwind
colors: {
  custom: {
    50: '#a3ba68',
    500: '#799d23',
    950: '#000000',
  },
}
SCSS
$custom: #799d23;
$custom-light: #a3ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#799d23",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 77.705,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64648,
    "c": 0.14939,
    "h": 125.2
  },
  "luminance": 0.283
}

Semantic roles & 50–950 ramp

primary
#799D23
secondary
#795CC0
accent
#41E772
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799D23

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

Preview Lab → · Contrast checker → · Palette generator →

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