#374D12#374D12

#374D12 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.9% C 0.088 H 127.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#374D12
RGBrgb(55, 77, 18)
HSLhsl(82, 62%, 19%)
HSVhsv(82, 77%, 30%)
CMYKcmyk(28.6%, 0%, 76.6%, 69.8%)
CIE-LABlab(29.82, -18.81, 30.71)
CIE-LCHlch(29.82, 36.01, 121.50°)
OKLaboklab(38.86% -0.0537 0.0693)
OKLCHoklch(38.86% 0.088 127.8)
XYZxyz(4.3386, 6.1636, 1.5333)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374D12 #28124D
analogous
#4D4512 #374D12 #194D12
triadic
#374D12 #12374D #4D1237
tetradic
#374D12 #124D45 #28124D #4D1219
square
#374D12 #124D45 #28124D #4D1219
split-complementary
#374D12 #12194D #45124D
monochromatic
#121906 #141B06 #374D12 #5A7F1E #7EB029

Accessibility & contrast

On white

9.41
#374D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#374D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374D12
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374D12#FFFFFF#000000##FFFFFF
##374D121.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#394941
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #374d12;
/* rgb */ color: rgb(55, 77, 18);
/* oklch */ color: oklch(38.9% 0.088 127.8);
Tailwind
colors: {
  custom: {
    50: '#707f54',
    500: '#374d12',
    950: '#000000',
  },
}
SCSS
$custom: #374d12;
$custom-light: #707f54;
$custom-dark: #000000;
JSON
{
  "hex": "#374d12",
  "rgb": {
    "r": 55,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 82.373,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38863,
    "c": 0.08766,
    "h": 127.8
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#374D12
secondary
#533586
accent
#43E57F
background
#F6F7F4
surface
#ECEEE8
border
#C7C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #374D12

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

Preview Lab → · Contrast checker → · Palette generator →

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