#395112#395112

#395112 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.1% C 0.092 H 128.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#395112
RGBrgb(57, 81, 18)
HSLhsl(83, 64%, 19%)
HSVhsv(83, 78%, 32%)
CMYKcmyk(29.6%, 0%, 77.8%, 68.2%)
CIE-LABlab(31.34, -20.04, 32.29)
CIE-LCHlch(31.34, 38.00, 121.82°)
OKLaboklab(40.13% -0.0572 0.0725)
OKLCHoklch(40.13% 0.092 128.3)
XYZxyz(4.7390, 6.7983, 1.6347)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395112 #2A1251
analogous
#514A12 #395112 #1A5112
triadic
#395112 #123951 #511239
tetradic
#395112 #12514A #2A1251 #51121A
square
#395112 #12514A #2A1251 #51121A
split-complementary
#395112 #121A51 #4A1251
monochromatic
#121906 #161F07 #395112 #5C831D #7FB528

Accessibility & contrast

On white

8.90
#395112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#395112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395112
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395112#FFFFFF#000000##FFFFFF
##3951121.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B07
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#3B4D45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #395112;
/* rgb */ color: rgb(57, 81, 18);
/* oklch */ color: oklch(40.1% 0.092 128.3);
Tailwind
colors: {
  custom: {
    50: '#728255',
    500: '#395112',
    950: '#000000',
  },
}
SCSS
$custom: #395112;
$custom-light: #728255;
$custom-dark: #000000;
JSON
{
  "hex": "#395112",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 82.857,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40134,
    "c": 0.09239,
    "h": 128.3
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#395112
secondary
#55358A
accent
#41E780
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #395112

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

Preview Lab → · Contrast checker → · Palette generator →

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