#799A23#799A23

#799A23 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.9% C 0.146 H 124.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#799A23
RGBrgb(121, 154, 35)
HSLhsl(77, 63%, 37%)
HSVhsv(77, 77%, 60%)
CMYKcmyk(21.4%, 0%, 77.3%, 39.6%)
CIE-LABlab(59.25, -28.22, 54.41)
CIE-LCHlch(59.25, 61.29, 117.42°)
OKLaboklab(63.91% -0.0822 0.1202)
OKLCHoklch(63.91% 0.146 124.4)
XYZxyz(19.7443, 27.2973, 5.8185)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A23 #44239A
analogous
#9A8023 #799A23 #3D9A23
triadic
#799A23 #23799A #9A2379
tetradic
#799A23 #239A80 #44239A #9A233D
square
#799A23 #239A80 #44239A #9A233D
split-complementary
#799A23 #233D9A #80239A
monochromatic
#2B360C #526818 #799A23 #A0CC2E #B8DA5D

Accessibility & contrast

On white

3.25
#799A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#799A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A23
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A23#FFFFFF#000000##000000
##799A231.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39005
Deuteranopia (green-blind)
#9F8E2F
Tritanopia (blue-blind)
#7F9284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a23;
/* rgb */ color: rgb(121, 154, 35);
/* oklch */ color: oklch(63.9% 0.146 124.4);
Tailwind
colors: {
  custom: {
    50: '#a3b768',
    500: '#799a23',
    950: '#000000',
  },
}
SCSS
$custom: #799a23;
$custom-light: #a3b768;
$custom-dark: #000000;
JSON
{
  "hex": "#799a23",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 76.639,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63911,
    "c": 0.14566,
    "h": 124.4
  },
  "luminance": 0.27297
}

Semantic roles & 50–950 ramp

primary
#799A23
secondary
#765ABF
accent
#42E66F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799A23

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

Preview Lab → · Contrast checker → · Palette generator →

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