#395F12#395F12

#395F12 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.1% C 0.112 H 132.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#395F12
RGBrgb(57, 95, 18)
HSLhsl(90, 68%, 22%)
HSVhsv(90, 81%, 37%)
CMYKcmyk(40%, 0%, 81.1%, 62.7%)
CIE-LABlab(36.17, -27.03, 37.02)
CIE-LCHlch(36.17, 45.84, 126.13°)
OKLaboklab(44.07% -0.0762 0.0825)
OKLCHoklch(44.07% 0.112 132.8)
XYZxyz(5.8887, 9.0977, 2.0179)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395F12 #38125F
analogous
#5F5F12 #395F12 #135F12
triadic
#395F12 #12395F #5F1239
tetradic
#395F12 #125F5F #38125F #5F1213
square
#395F12 #125F5F #38125F #5F1213
split-complementary
#395F12 #12135F #5F125F
monochromatic
#0F1A05 #1A2C08 #395F12 #58921C #77C625

Accessibility & contrast

On white

7.45
#395F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#395F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395F12
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395F12#FFFFFF#000000##FFFFFF
##395F121.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635702
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#395B50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #395f12;
/* rgb */ color: rgb(57, 95, 18);
/* oklch */ color: oklch(44.1% 0.112 132.8);
Tailwind
colors: {
  custom: {
    50: '#738c57',
    500: '#395f12',
    950: '#000000',
  },
}
SCSS
$custom: #395f12;
$custom-light: #738c57;
$custom-dark: #000000;
JSON
{
  "hex": "#395f12",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 89.61,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.11228,
    "h": 132.8
  },
  "luminance": 0.09098
}

Semantic roles & 50–950 ramp

primary
#395F12
secondary
#663697
accent
#3DEB93
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #395F12

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

Preview Lab → · Contrast checker → · Palette generator →

#395F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva