#799166#799166

#799166 is a light, moderate yellow-green. Relative luminance 0.253; OKLCH L 62.6% C 0.068 H 131.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#799166
RGBrgb(121, 145, 102)
HSLhsl(93, 17%, 48%)
HSVhsv(93, 30%, 57%)
CMYKcmyk(16.6%, 0%, 29.7%, 43.1%)
CIE-LABlab(57.34, -16.72, 20.10)
CIE-LCHlch(57.34, 26.15, 129.76°)
OKLaboklab(62.63% -0.0453 0.0506)
OKLCHoklch(62.63% 0.068 131.8)
XYZxyz(20.4084, 25.2748, 16.3711)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799166 #7E6691
analogous
#8E9166 #799166 #669168
triadic
#799166 #667991 #916679
tetradic
#799166 #668E91 #7E6691 #916866
square
#799166 #668E91 #7E6691 #916866
split-complementary
#799166 #686691 #91668E
monochromatic
#3D4933 #5B6D4D #799166 #98AC89 #B7C5AC

Accessibility & contrast

On white

3.47
#799166 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#799166 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799166
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799166#FFFFFF#000000##000000
##7991661.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958B63
Deuteranopia (green-blind)
#918968
Tritanopia (blue-blind)
#7A8D86
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #799166;
/* rgb */ color: rgb(121, 145, 102);
/* oklch */ color: oklch(62.6% 0.068 131.8);
Tailwind
colors: {
  custom: {
    50: '#a0b192',
    500: '#799166',
    950: '#000000',
  },
}
SCSS
$custom: #799166;
$custom-light: #a0b192;
$custom-dark: #000000;
JSON
{
  "hex": "#799166",
  "rgb": {
    "r": 121,
    "g": 145,
    "b": 102
  },
  "hsl": {
    "h": 93.488,
    "s": 17.409,
    "l": 48.431
  },
  "oklch": {
    "l": 0.62633,
    "c": 0.06794,
    "h": 131.8
  },
  "luminance": 0.25275
}

Semantic roles & 50–950 ramp

primary
#799166
secondary
#AB9FB4
accent
#6EBA98
background
#F9FAF8
surface
#F2F5F0
border
#CCCFCB
text
#0E100D
muted
#7E7F7D

Preview Lab

Preview with #799166

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

Preview Lab → · Contrast checker → · Palette generator →

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