#394908#394908

#394908 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.087 H 123.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#394908
RGBrgb(57, 73, 8)
HSLhsl(75, 80%, 16%)
HSVhsv(75, 89%, 29%)
CMYKcmyk(21.9%, 0%, 89%, 71.4%)
CIE-LABlab(28.52, -16.34, 33.47)
CIE-LCHlch(28.52, 37.24, 116.02°)
OKLaboklab(37.82% -0.048 0.0731)
OKLCHoklch(37.82% 0.087 123.3)
XYZxyz(4.1138, 5.6524, 1.1040)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394908 #180849
analogous
#493808 #394908 #184908
triadic
#394908 #083949 #490839
tetradic
#394908 #084938 #180849 #490818
square
#394908 #084938 #180849 #490818
split-complementary
#394908 #081849 #380849
monochromatic
#161C03 #161C03 #394908 #64800E #8FB714

Accessibility & contrast

On white

9.86
#394908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#394908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394908
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394908#FFFFFF#000000##FFFFFF
##3949081.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#4C430F
Tritanopia (blue-blind)
#3C453D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #394908;
/* rgb */ color: rgb(57, 73, 8);
/* oklch */ color: oklch(37.8% 0.087 123.3);
Tailwind
colors: {
  custom: {
    50: '#727b4e',
    500: '#394908',
    950: '#000000',
  },
}
SCSS
$custom: #394908;
$custom-light: #727b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#394908",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 8
  },
  "hsl": {
    "h": 74.769,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.37823,
    "c": 0.08748,
    "h": 123.3
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#394908
secondary
#3E2687
accent
#31F762
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #394908

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

Preview Lab → · Contrast checker → · Palette generator →

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