#799235#799235

#799235 is a light, vivid yellow-green. Relative luminance 0.249; OKLCH L 62.1% C 0.123 H 122.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#799235
RGBrgb(121, 146, 53)
HSLhsl(76, 47%, 39%)
HSVhsv(76, 64%, 57%)
CMYKcmyk(17.1%, 0%, 63.7%, 42.7%)
CIE-LABlab(56.96, -23.11, 44.99)
CIE-LCHlch(56.96, 50.58, 117.19°)
OKLaboklab(62.1% -0.0665 0.1032)
OKLCHoklch(62.1% 0.123 122.8)
XYZxyz(18.8068, 24.8797, 7.1789)
Luminance0.2488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799235 #4E3592
analogous
#927D35 #799235 #4B9235
triadic
#799235 #357992 #923579
tetradic
#799235 #35927D #4E3592 #92354B
square
#799235 #35927D #4E3592 #92354B
split-complementary
#799235 #354B92 #7D3592
monochromatic
#2F3814 #546525 #799235 #9DBC48 #B5CD75

Accessibility & contrast

On white

3.51
#799235 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#799235 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799235
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799235#FFFFFF#000000##000000
##7992351.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892A
Deuteranopia (green-blind)
#97893C
Tritanopia (blue-blind)
#7F8B7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #799235;
/* rgb */ color: rgb(121, 146, 53);
/* oklch */ color: oklch(62.1% 0.123 122.8);
Tailwind
colors: {
  custom: {
    50: '#a2b271',
    500: '#799235',
    950: '#000000',
  },
}
SCSS
$custom: #799235;
$custom-light: #a2b271;
$custom-dark: #000000;
JSON
{
  "hex": "#799235",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 53
  },
  "hsl": {
    "h": 76.129,
    "s": 46.734,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62102,
    "c": 0.12281,
    "h": 122.8
  },
  "luminance": 0.2488
}

Semantic roles & 50–950 ramp

primary
#799235
secondary
#816EB5
accent
#51D675
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #799235

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

Preview Lab → · Contrast checker → · Palette generator →

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