#799126#799126

#799126 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.7% C 0.133 H 121.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#799126
RGBrgb(121, 145, 38)
HSLhsl(73, 58%, 36%)
HSVhsv(73, 74%, 57%)
CMYKcmyk(16.6%, 0%, 73.8%, 43.1%)
CIE-LABlab(56.54, -23.64, 50.75)
CIE-LCHlch(56.54, 55.99, 114.98°)
OKLaboklab(61.73% -0.0694 0.1131)
OKLCHoklch(61.73% 0.133 121.5)
XYZxyz(18.3607, 24.4557, 5.5865)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799126 #3E2691
analogous
#917326 #799126 #439126
triadic
#799126 #267991 #912679
tetradic
#799126 #269173 #3E2691 #912643
square
#799126 #269173 #3E2691 #912643
split-complementary
#799126 #264391 #732691
monochromatic
#28300D #516119 #799126 #A1C133 #BAD55D

Accessibility & contrast

On white

3.56
#799126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#799126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799126
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799126#FFFFFF#000000##000000
##7991261.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8812
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#80897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799126;
/* rgb */ color: rgb(121, 145, 38);
/* oklch */ color: oklch(61.7% 0.133 121.5);
Tailwind
colors: {
  custom: {
    50: '#a3b168',
    500: '#799126',
    950: '#000000',
  },
}
SCSS
$custom: #799126;
$custom-light: #a3b168;
$custom-dark: #000000;
JSON
{
  "hex": "#799126",
  "rgb": {
    "r": 121,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 73.458,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61729,
    "c": 0.13267,
    "h": 121.5
  },
  "luminance": 0.24456
}

Semantic roles & 50–950 ramp

primary
#799126
secondary
#6F59BA
accent
#46E269
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #799126

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

Preview Lab → · Contrast checker → · Palette generator →

#799126 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva