#3E7223#3E7223

#3E7223 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.8% C 0.124 H 136.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3E7223
RGBrgb(62, 114, 35)
HSLhsl(99, 53%, 29%)
HSVhsv(99, 69%, 45%)
CMYKcmyk(45.6%, 0%, 69.3%, 55.3%)
CIE-LABlab(43.03, -32.56, 37.02)
CIE-LCHlch(43.03, 49.30, 131.33°)
OKLaboklab(49.8% -0.0902 0.085)
OKLCHoklch(49.8% 0.124 136.7)
XYZxyz(8.3071, 13.1796, 3.6960)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7223 #572372
analogous
#667223 #3E7223 #237230
triadic
#3E7223 #233E72 #72233E
tetradic
#3E7223 #236672 #572372 #723023
square
#3E7223 #236672 #572372 #723023
split-complementary
#3E7223 #302372 #722366
monochromatic
#0D1707 #254315 #3E7223 #57A131 #74C748

Accessibility & contrast

On white

5.78
#3E7223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3E7223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7223
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7223#FFFFFF#000000##FFFFFF
##3E72231.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766818
Deuteranopia (green-blind)
#6F642A
Tritanopia (blue-blind)
#3C6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3e7223;
/* rgb */ color: rgb(62, 114, 35);
/* oklch */ color: oklch(49.8% 0.124 136.7);
Tailwind
colors: {
  custom: {
    50: '#789b62',
    500: '#3e7223',
    950: '#000000',
  },
}
SCSS
$custom: #3e7223;
$custom-light: #789b62;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7223",
  "rgb": {
    "r": 62,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 99.494,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49797,
    "c": 0.12392,
    "h": 136.7
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#3E7223
secondary
#874CA5
accent
#4BDCAB
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #3E7223

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

Preview Lab → · Contrast checker → · Palette generator →

#3E7223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva