#799255#799255

#799255 is a light, moderate yellow-green. Relative luminance 0.253; OKLCH L 62.5% C 0.090 H 127.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#799255
RGBrgb(121, 146, 85)
HSLhsl(85, 26%, 45%)
HSVhsv(85, 42%, 57%)
CMYKcmyk(17.1%, 0%, 41.8%, 42.7%)
CIE-LABlab(57.35, -19.73, 29.44)
CIE-LCHlch(57.35, 35.44, 123.82°)
OKLaboklab(62.54% -0.0543 0.072)
OKLCHoklch(62.54% 0.09 127)
XYZxyz(19.8036, 25.2784, 12.4285)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799255 #6E5592
analogous
#928C55 #799255 #5A9255
triadic
#799255 #557992 #925579
tetradic
#799255 #55928C #6E5592 #92555A
square
#799255 #55928C #6E5592 #92555A
split-complementary
#799255 #555A92 #8C5592
monochromatic
#394528 #596B3E #799255 #97AF75 #B4C59C

Accessibility & contrast

On white

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

On black

6.06
#799255 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799255
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799255#FFFFFF#000000##000000
##7992551.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B50
Deuteranopia (green-blind)
#948958
Tritanopia (blue-blind)
#7C8D83
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #799255;
/* rgb */ color: rgb(121, 146, 85);
/* oklch */ color: oklch(62.5% 0.090 127.0);
Tailwind
colors: {
  custom: {
    50: '#a1b286',
    500: '#799255',
    950: '#000000',
  },
}
SCSS
$custom: #799255;
$custom-light: #a1b286;
$custom-dark: #000000;
JSON
{
  "hex": "#799255",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 85
  },
  "hsl": {
    "h": 84.59,
    "s": 26.407,
    "l": 45.294
  },
  "oklch": {
    "l": 0.62539,
    "c": 0.09016,
    "h": 127
  },
  "luminance": 0.25279
}

Semantic roles & 50–950 ramp

primary
#799255
secondary
#9E90B3
accent
#65C38B
background
#FAFAF8
surface
#F3F5EF
border
#CDCFCA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #799255

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

Preview Lab → · Contrast checker → · Palette generator →

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