#3E530C#3E530C

#3E530C is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 41.0% C 0.096 H 125.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#3E530C
RGBrgb(62, 83, 12)
HSLhsl(78, 75%, 19%)
HSVhsv(78, 86%, 33%)
CMYKcmyk(25.3%, 0%, 85.5%, 67.5%)
CIE-LABlab(32.34, -19.21, 35.69)
CIE-LCHlch(32.34, 40.53, 118.29°)
OKLaboklab(41.02% -0.0558 0.0784)
OKLCHoklch(41.02% 0.096 125.4)
XYZxyz(5.1463, 7.2371, 1.4735)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E530C #210C53
analogous
#53440C #3E530C #1A530C
triadic
#3E530C #0C3E53 #530C3E
tetradic
#3E530C #0C5344 #210C53 #530C1A
square
#3E530C #0C5344 #210C53 #530C1A
split-complementary
#3E530C #0C1A53 #440C53
monochromatic
#141B04 #161E04 #3E530C #668814 #8EBE1B

Accessibility & contrast

On white

8.58
#3E530C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3E530C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E530C
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E530C#FFFFFF#000000##FFFFFF
##3E530C1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#554C13
Tritanopia (blue-blind)
#414F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e530c;
/* rgb */ color: rgb(62, 83, 12);
/* oklch */ color: oklch(41.0% 0.096 125.4);
Tailwind
colors: {
  custom: {
    50: '#768352',
    500: '#3e530c',
    950: '#000000',
  },
}
SCSS
$custom: #3e530c;
$custom-light: #768352;
$custom-dark: #000000;
JSON
{
  "hex": "#3e530c",
  "rgb": {
    "r": 62,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 77.746,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41023,
    "c": 0.09628,
    "h": 125.4
  },
  "luminance": 0.07237
}

Semantic roles & 50–950 ramp

primary
#3E530C
secondary
#492D8E
accent
#36F16E
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #3E530C

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

Preview Lab → · Contrast checker → · Palette generator →

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