#374E12#374E12

#374E12 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.1% C 0.089 H 128.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#374E12
RGBrgb(55, 78, 18)
HSLhsl(83, 63%, 19%)
HSVhsv(83, 77%, 31%)
CMYKcmyk(29.5%, 0%, 76.9%, 69.4%)
CIE-LABlab(30.17, -19.35, 31.06)
CIE-LCHlch(30.17, 36.59, 121.92°)
OKLaboklab(39.14% -0.0552 0.07)
OKLCHoklch(39.14% 0.089 128.3)
XYZxyz(4.4091, 6.3046, 1.5568)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374E12 #29124E
analogous
#4E4712 #374E12 #194E12
triadic
#374E12 #12374E #4E1237
tetradic
#374E12 #124E47 #29124E #4E1219
square
#374E12 #124E47 #29124E #4E1219
split-complementary
#374E12 #12194E #47124E
monochromatic
#121906 #141C07 #374E12 #5A801D #7DB129

Accessibility & contrast

On white

9.29
#374E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#374E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374E12
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374E12#FFFFFF#000000##FFFFFF
##374E121.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524808
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#394A42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #374e12;
/* rgb */ color: rgb(55, 78, 18);
/* oklch */ color: oklch(39.1% 0.089 128.3);
Tailwind
colors: {
  custom: {
    50: '#707f54',
    500: '#374e12',
    950: '#000000',
  },
}
SCSS
$custom: #374e12;
$custom-light: #707f54;
$custom-dark: #000000;
JSON
{
  "hex": "#374e12",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 83,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39144,
    "c": 0.08914,
    "h": 128.3
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#374E12
secondary
#543587
accent
#42E681
background
#F6F7F5
surface
#ECEEE8
border
#C7C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #374E12

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

Preview Lab → · Contrast checker → · Palette generator →

#374E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva