#799B23#799B23

#799B23 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.147 H 124.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#799B23
RGBrgb(121, 155, 35)
HSLhsl(77, 63%, 37%)
HSVhsv(77, 77%, 61%)
CMYKcmyk(21.9%, 0%, 77.4%, 39.2%)
CIE-LABlab(59.55, -28.71, 54.69)
CIE-LCHlch(59.55, 61.77, 117.69°)
OKLaboklab(64.16% -0.0835 0.1208)
OKLCHoklch(64.16% 0.147 124.7)
XYZxyz(19.9101, 27.6288, 5.8737)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B23 #45239B
analogous
#9B8123 #799B23 #3D9B23
triadic
#799B23 #23799B #9B2379
tetradic
#799B23 #239B81 #45239B #9B233D
square
#799B23 #239B81 #45239B #9B233D
split-complementary
#799B23 #233D9B #81239B
monochromatic
#2B370C #526918 #799B23 #A0CD2E #B7DB5E

Accessibility & contrast

On white

3.22
#799B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#799B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B23
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B23#FFFFFF#000000##000000
##799B231.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49104
Deuteranopia (green-blind)
#9F8F2F
Tritanopia (blue-blind)
#7F9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799b23;
/* rgb */ color: rgb(121, 155, 35);
/* oklch */ color: oklch(64.2% 0.147 124.7);
Tailwind
colors: {
  custom: {
    50: '#a3b868',
    500: '#799b23',
    950: '#000000',
  },
}
SCSS
$custom: #799b23;
$custom-light: #a3b868;
$custom-dark: #000000;
JSON
{
  "hex": "#799b23",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 77,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64157,
    "c": 0.14691,
    "h": 124.7
  },
  "luminance": 0.27629
}

Semantic roles & 50–950 ramp

primary
#799B23
secondary
#775ABF
accent
#42E670
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799B23

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

Preview Lab → · Contrast checker → · Palette generator →

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