#799331#799331

#799331 is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.3% C 0.127 H 122.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#799331
RGBrgb(121, 147, 49)
HSLhsl(76, 50%, 38%)
HSVhsv(76, 67%, 58%)
CMYKcmyk(17.7%, 0%, 66.7%, 42.4%)
CIE-LABlab(57.23, -23.92, 47.03)
CIE-LCHlch(57.23, 52.77, 116.96°)
OKLaboklab(62.31% -0.0691 0.107)
OKLCHoklch(62.31% 0.127 122.9)
XYZxyz(18.8734, 25.1541, 6.7661)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799331 #4B3193
analogous
#937C31 #799331 #489331
triadic
#799331 #317993 #933179
tetradic
#799331 #31937C #4B3193 #933148
square
#799331 #31937C #4B3193 #933148
split-complementary
#799331 #314893 #7C3193
monochromatic
#2D3712 #536522 #799331 #9EC041 #B6CF6F

Accessibility & contrast

On white

3.48
#799331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#799331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799331
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799331#FFFFFF#000000##000000
##7993311.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A24
Deuteranopia (green-blind)
#988938
Tritanopia (blue-blind)
#7F8C7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #799331;
/* rgb */ color: rgb(121, 147, 49);
/* oklch */ color: oklch(62.3% 0.127 122.9);
Tailwind
colors: {
  custom: {
    50: '#a2b26e',
    500: '#799331',
    950: '#000000',
  },
}
SCSS
$custom: #799331;
$custom-light: #a2b26e;
$custom-dark: #000000;
JSON
{
  "hex": "#799331",
  "rgb": {
    "r": 121,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 75.918,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62306,
    "c": 0.12738,
    "h": 122.9
  },
  "luminance": 0.25154
}

Semantic roles & 50–950 ramp

primary
#799331
secondary
#7E69B7
accent
#4EDA73
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799331

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

Preview Lab → · Contrast checker → · Palette generator →

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