#385A0F#385A0F

#385A0F is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.6% C 0.108 H 131.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#385A0F
RGBrgb(56, 90, 15)
HSLhsl(87, 71%, 21%)
HSVhsv(87, 83%, 35%)
CMYKcmyk(37.8%, 0%, 83.3%, 64.7%)
CIE-LABlab(34.37, -25.22, 36.38)
CIE-LCHlch(34.37, 44.27, 124.73°)
OKLaboklab(42.58% -0.0715 0.0806)
OKLCHoklch(42.58% 0.108 131.6)
XYZxyz(5.3732, 8.1874, 1.7491)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385A0F #310F5A
analogous
#5A560F #385A0F #125A0F
triadic
#385A0F #0F385A #5A0F38
tetradic
#385A0F #0F5A56 #310F5A #5A0F12
square
#385A0F #0F5A56 #310F5A #5A0F12
split-complementary
#385A0F #0F125A #560F5A
monochromatic
#101A04 #172606 #385A0F #598E18 #79C320

Accessibility & contrast

On white

7.96
#385A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#385A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385A0F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385A0F#FFFFFF#000000##FFFFFF
##385A0F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#39564C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #385a0f;
/* rgb */ color: rgb(56, 90, 15);
/* oklch */ color: oklch(42.6% 0.108 131.6);
Tailwind
colors: {
  custom: {
    50: '#728954',
    500: '#385a0f',
    950: '#000000',
  },
}
SCSS
$custom: #385a0f;
$custom-light: #728954;
$custom-dark: #000000;
JSON
{
  "hex": "#385a0f",
  "rgb": {
    "r": 56,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 87.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42576,
    "c": 0.10774,
    "h": 131.6
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#385A0F
secondary
#5E3194
accent
#3AEE8B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #385A0F

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

Preview Lab → · Contrast checker → · Palette generator →

#385A0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva