#799237#799237

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

Color values

HEX#799237
RGBrgb(121, 146, 55)
HSLhsl(76, 45%, 39%)
HSVhsv(76, 62%, 57%)
CMYKcmyk(17.1%, 0%, 62.3%, 42.7%)
CIE-LABlab(56.98, -22.95, 44.11)
CIE-LCHlch(56.98, 49.72, 117.49°)
OKLaboklab(62.12% -0.0659 0.1016)
OKLCHoklch(62.12% 0.121 122.9)
XYZxyz(18.8538, 24.8985, 7.4263)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799237 #503792
analogous
#927E37 #799237 #4B9237
triadic
#799237 #377992 #923779
tetradic
#799237 #37927E #503792 #92374B
square
#799237 #37927E #503792 #92374B
split-complementary
#799237 #374B92 #7E3792
monochromatic
#2F3916 #546626 #799237 #9CBB4B #B5CC77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799237#FFFFFF#000000##000000
##7992371.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)
#9A892C
Deuteranopia (green-blind)
#97893D
Tritanopia (blue-blind)
#7F8B7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #799237;
/* rgb */ color: rgb(121, 146, 55);
/* oklch */ color: oklch(62.1% 0.121 122.9);
Tailwind
colors: {
  custom: {
    50: '#a2b272',
    500: '#799237',
    950: '#000000',
  },
}
SCSS
$custom: #799237;
$custom-light: #a2b272;
$custom-dark: #000000;
JSON
{
  "hex": "#799237",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 76.484,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62123,
    "c": 0.1211,
    "h": 122.9
  },
  "luminance": 0.24899
}

Semantic roles & 50–950 ramp

primary
#799237
secondary
#8370B5
accent
#53D577
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #799237

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

Preview Lab → · Contrast checker → · Palette generator →

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