#35791B#35791B

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

Color values

HEX#35791B
RGBrgb(53, 121, 27)
HSLhsl(103, 64%, 29%)
HSVhsv(103, 78%, 47%)
CMYKcmyk(56.2%, 0%, 77.7%, 52.5%)
CIE-LABlab(44.96, -39.12, 42.18)
CIE-LCHlch(44.96, 57.53, 132.84°)
OKLaboklab(51.25% -0.1079 0.0947)
OKLCHoklch(51.25% 0.144 138.7)
XYZxyz(8.5031, 14.5101, 3.3893)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35791B #5F1B79
analogous
#64791B #35791B #1B7930
triadic
#35791B #1B3579 #791B35
tetradic
#35791B #1B6479 #5F1B79 #79301B
square
#35791B #1B6479 #5F1B79 #79301B
split-complementary
#35791B #301B79 #791B64
monochromatic
#0B1906 #1F4710 #35791B #4BAB26 #65D33B

Accessibility & contrast

On white

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

On black

3.90
#35791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##35791B#FFFFFF#000000##FFFFFF
##35791B1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E07
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#2F7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #35791b;
/* rgb */ color: rgb(53, 121, 27);
/* oklch */ color: oklch(51.3% 0.144 138.7);
Tailwind
colors: {
  custom: {
    50: '#74a05f',
    500: '#35791b',
    950: '#000000',
  },
}
SCSS
$custom: #35791b;
$custom-light: #74a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#35791b",
  "rgb": {
    "r": 53,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 103.404,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51251,
    "c": 0.14358,
    "h": 138.7
  },
  "luminance": 0.14511
}

Semantic roles & 50–950 ramp

primary
#35791B
secondary
#9043AD
accent
#41E7B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #35791B

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

Preview Lab → · Contrast checker → · Palette generator →

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