#799731#799731

#799731 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.3% C 0.133 H 124.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#799731
RGBrgb(121, 151, 49)
HSLhsl(78, 51%, 39%)
HSVhsv(78, 68%, 59%)
CMYKcmyk(19.9%, 0%, 67.5%, 40.8%)
CIE-LABlab(58.43, -25.91, 48.30)
CIE-LCHlch(58.43, 54.81, 118.21°)
OKLaboklab(63.28% -0.0746 0.1097)
OKLCHoklch(63.28% 0.133 124.2)
XYZxyz(19.5063, 26.4198, 6.9770)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799731 #4F3197
analogous
#978231 #799731 #469731
triadic
#799731 #317997 #973179
tetradic
#799731 #319782 #4F3197 #973146
square
#799731 #319782 #4F3197 #973146
split-complementary
#799731 #314697 #823197
monochromatic
#2F3B13 #546922 #799731 #9DC243 #B5D171

Accessibility & contrast

On white

3.34
#799731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#799731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799731
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799731#FFFFFF#000000##000000
##7997311.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D23
Deuteranopia (green-blind)
#9B8C39
Tritanopia (blue-blind)
#7F9082
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #799731;
/* rgb */ color: rgb(121, 151, 49);
/* oklch */ color: oklch(63.3% 0.133 124.2);
Tailwind
colors: {
  custom: {
    50: '#a2b56f',
    500: '#799731',
    950: '#000000',
  },
}
SCSS
$custom: #799731;
$custom-light: #a2b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#799731",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 77.647,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63282,
    "c": 0.13264,
    "h": 124.2
  },
  "luminance": 0.2642
}

Semantic roles & 50–950 ramp

primary
#799731
secondary
#826BB9
accent
#4DDA77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799731

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

Preview Lab → · Contrast checker → · Palette generator →

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