#799254#799254

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

Color values

HEX#799254
RGBrgb(121, 146, 84)
HSLhsl(84, 27%, 45%)
HSVhsv(84, 42%, 57%)
CMYKcmyk(17.1%, 0%, 42.5%, 42.7%)
CIE-LABlab(57.33, -19.86, 29.96)
CIE-LCHlch(57.33, 35.94, 123.54°)
OKLaboklab(62.52% -0.0547 0.0731)
OKLCHoklch(62.52% 0.091 126.8)
XYZxyz(19.7641, 25.2626, 12.2207)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799254 #6D5492
analogous
#928C54 #799254 #5A9254
triadic
#799254 #547992 #925479
tetradic
#799254 #54928C #6D5492 #92545A
square
#799254 #54928C #6D5492 #92545A
split-complementary
#799254 #545A92 #8C5492
monochromatic
#394427 #596B3E #799254 #97AF74 #B4C59B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799254#FFFFFF#000000##000000
##7992541.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)
#988B4F
Deuteranopia (green-blind)
#948957
Tritanopia (blue-blind)
#7C8D83
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #799254;
/* rgb */ color: rgb(121, 146, 84);
/* oklch */ color: oklch(62.5% 0.091 126.8);
Tailwind
colors: {
  custom: {
    50: '#a1b285',
    500: '#799254',
    950: '#000000',
  },
}
SCSS
$custom: #799254;
$custom-light: #a1b285;
$custom-dark: #000000;
JSON
{
  "hex": "#799254",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 84
  },
  "hsl": {
    "h": 84.194,
    "s": 26.957,
    "l": 45.098
  },
  "oklch": {
    "l": 0.62522,
    "c": 0.09132,
    "h": 126.8
  },
  "luminance": 0.25263
}

Semantic roles & 50–950 ramp

primary
#799254
secondary
#9D8FB3
accent
#64C38B
background
#FAFAF8
surface
#F3F5EF
border
#CDCFCA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #799254

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

Preview Lab → · Contrast checker → · Palette generator →

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