#394818#394818

#394818 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.7% C 0.074 H 124.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#394818
RGBrgb(57, 72, 24)
HSLhsl(79, 50%, 19%)
HSVhsv(79, 67%, 28%)
CMYKcmyk(20.8%, 0%, 66.7%, 71.8%)
CIE-LABlab(28.30, -14.61, 26.20)
CIE-LCHlch(28.30, 30.00, 119.15°)
OKLaboklab(37.69% -0.0417 0.0607)
OKLCHoklch(37.69% 0.074 124.5)
XYZxyz(4.1696, 5.5705, 1.7195)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394818 #271848
analogous
#483F18 #394818 #214818
triadic
#394818 #183948 #481839
tetradic
#394818 #18483F #271848 #481821
square
#394818 #18483F #271848 #481821
split-complementary
#394818 #182148 #3F1848
monochromatic
#121708 #151A09 #394818 #5D7627 #82A437

Accessibility & contrast

On white

9.93
#394818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#394818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394818
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394818#FFFFFF#000000##FFFFFF
##3948181.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#4A431B
Tritanopia (blue-blind)
#3C443E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #394818;
/* rgb */ color: rgb(57, 72, 24);
/* oklch */ color: oklch(37.7% 0.074 124.5);
Tailwind
colors: {
  custom: {
    50: '#717b57',
    500: '#394818',
    950: '#000000',
  },
}
SCSS
$custom: #394818;
$custom-light: #717b57;
$custom-dark: #000000;
JSON
{
  "hex": "#394818",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 24
  },
  "hsl": {
    "h": 78.75,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3769,
    "c": 0.07359,
    "h": 124.5
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#394818
secondary
#523D7F
accent
#4EDA7A
background
#F6F7F5
surface
#ECEDE9
border
#C7C8C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394818

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

Preview Lab → · Contrast checker → · Palette generator →

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