#395111#395111

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

Color values

HEX#395111
RGBrgb(57, 81, 17)
HSLhsl(83, 65%, 19%)
HSVhsv(83, 79%, 32%)
CMYKcmyk(29.6%, 0%, 79%, 68.2%)
CIE-LABlab(31.34, -20.11, 32.70)
CIE-LCHlch(31.34, 38.39, 121.59°)
OKLaboklab(40.13% -0.0575 0.0732)
OKLCHoklch(40.13% 0.093 128.2)
XYZxyz(4.7309, 6.7951, 1.5925)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395111 #291151
analogous
#514911 #395111 #195111
triadic
#395111 #113951 #511139
tetradic
#395111 #115149 #291151 #511119
square
#395111 #115149 #291151 #511119
split-complementary
#395111 #111951 #491151
monochromatic
#121905 #151E06 #395111 #5D841C #80B626

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##395111#FFFFFF#000000##FFFFFF
##3951111.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)
#554B06
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#3B4D45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #395111;
/* rgb */ color: rgb(57, 81, 17);
/* oklch */ color: oklch(40.1% 0.093 128.2);
Tailwind
colors: {
  custom: {
    50: '#728254',
    500: '#395111',
    950: '#000000',
  },
}
SCSS
$custom: #395111;
$custom-light: #728254;
$custom-dark: #000000;
JSON
{
  "hex": "#395111",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 82.5,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40126,
    "c": 0.09311,
    "h": 128.2
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#395111
secondary
#54348A
accent
#40E87F
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #395111

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

Preview Lab → · Contrast checker → · Palette generator →

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