#395812#395812

#395812 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.1% C 0.102 H 130.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#395812
RGBrgb(57, 88, 18)
HSLhsl(87, 66%, 21%)
HSVhsv(87, 80%, 35%)
CMYKcmyk(35.2%, 0%, 79.5%, 65.5%)
CIE-LABlab(33.76, -23.62, 34.68)
CIE-LCHlch(33.76, 41.96, 124.26°)
OKLaboklab(42.1% -0.067 0.0775)
OKLCHoklch(42.1% 0.102 130.8)
XYZxyz(5.2862, 7.8928, 1.8171)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395812 #311258
analogous
#585412 #395812 #165812
triadic
#395812 #123958 #581239
tetradic
#395812 #125854 #311258 #581216
square
#395812 #125854 #311258 #581216
split-complementary
#395812 #121658 #541258
monochromatic
#101905 #182508 #395812 #5A8B1C #7BBE27

Accessibility & contrast

On white

8.14
#395812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#395812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395812
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395812#FFFFFF#000000##FFFFFF
##3958121.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#3A544B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #395812;
/* rgb */ color: rgb(57, 88, 18);
/* oklch */ color: oklch(42.1% 0.102 130.8);
Tailwind
colors: {
  custom: {
    50: '#738755',
    500: '#395812',
    950: '#000000',
  },
}
SCSS
$custom: #395812;
$custom-light: #738755;
$custom-dark: #000000;
JSON
{
  "hex": "#395812",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 86.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42099,
    "c": 0.10247,
    "h": 130.8
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#395812
secondary
#5E3591
accent
#3FE98A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395812

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

Preview Lab → · Contrast checker → · Palette generator →

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