#385018#385018

#385018 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.8% C 0.087 H 129.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#385018
RGBrgb(56, 80, 24)
HSLhsl(86, 54%, 20%)
HSVhsv(86, 70%, 31%)
CMYKcmyk(30%, 0%, 70%, 68.6%)
CIE-LABlab(30.98, -19.45, 29.12)
CIE-LCHlch(30.98, 35.02, 123.74°)
OKLaboklab(39.84% -0.055 0.0669)
OKLCHoklch(39.84% 0.087 129.4)
XYZxyz(4.6644, 6.6439, 1.9006)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385018 #301850
analogous
#504C18 #385018 #1C5018
triadic
#385018 #183850 #501838
tetradic
#385018 #18504C #301850 #50181C
square
#385018 #18504C #301850 #50181C
split-complementary
#385018 #181C50 #4C1850
monochromatic
#101807 #17210A #385018 #597F26 #7AAE34

Accessibility & contrast

On white

9.02
#385018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#385018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385018
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385018#FFFFFF#000000##FFFFFF
##3850181.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#51481C
Tritanopia (blue-blind)
#3A4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #385018;
/* rgb */ color: rgb(56, 80, 24);
/* oklch */ color: oklch(39.8% 0.087 129.4);
Tailwind
colors: {
  custom: {
    50: '#718158',
    500: '#385018',
    950: '#000000',
  },
}
SCSS
$custom: #385018;
$custom-light: #718158;
$custom-dark: #000000;
JSON
{
  "hex": "#385018",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 85.714,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3984,
    "c": 0.08655,
    "h": 129.4
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#385018
secondary
#5D3D87
accent
#4BDD89
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #385018

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

Preview Lab → · Contrast checker → · Palette generator →

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