#35791F#35791F

#35791F is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.3% C 0.141 H 139.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#35791F
RGBrgb(53, 121, 31)
HSLhsl(105, 59%, 30%)
HSVhsv(105, 74%, 47%)
CMYKcmyk(56.2%, 0%, 74.4%, 52.5%)
CIE-LABlab(44.98, -38.80, 40.66)
CIE-LCHlch(44.98, 56.20, 133.66°)
OKLaboklab(51.28% -0.1068 0.0921)
OKLCHoklch(51.28% 0.141 139.2)
XYZxyz(8.5526, 14.5299, 3.6499)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35791F #631F79
analogous
#62791F #35791F #1F7936
triadic
#35791F #1F3579 #791F35
tetradic
#35791F #1F6279 #631F79 #79361F
square
#35791F #1F6279 #631F79 #79361F
split-complementary
#35791F #361F79 #791F62
monochromatic
#0B1806 #204813 #35791F #4AAA2B #66CF43

Accessibility & contrast

On white

5.38
#35791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#35791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #35791F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35791F#FFFFFF#000000##FFFFFF
##35791F1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#2E7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #35791f;
/* rgb */ color: rgb(53, 121, 31);
/* oklch */ color: oklch(51.3% 0.141 139.2);
Tailwind
colors: {
  custom: {
    50: '#74a061',
    500: '#35791f',
    950: '#000000',
  },
}
SCSS
$custom: #35791f;
$custom-light: #74a061;
$custom-dark: #000000;
JSON
{
  "hex": "#35791f",
  "rgb": {
    "r": 53,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 105.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51283,
    "c": 0.14105,
    "h": 139.2
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#35791F
secondary
#9447AC
accent
#45E2BC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #35791F

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

Preview Lab → · Contrast checker → · Palette generator →

#35791F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva