#374A12#374A12

#374A12 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.083 H 126.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#374A12
RGBrgb(55, 74, 18)
HSLhsl(80, 61%, 18%)
HSVhsv(80, 76%, 29%)
CMYKcmyk(25.7%, 0%, 75.7%, 71%)
CIE-LABlab(28.78, -17.19, 29.64)
CIE-LCHlch(28.78, 34.27, 120.11°)
OKLaboklab(38.02% -0.0493 0.067)
OKLCHoklch(38.02% 0.083 126.3)
XYZxyz(4.1335, 5.7534, 1.4649)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374A12 #25124A
analogous
#4A4112 #374A12 #1B4A12
triadic
#374A12 #12374A #4A1237
tetradic
#374A12 #124A41 #25124A #4A121B
square
#374A12 #124A41 #25124A #4A121B
split-complementary
#374A12 #121B4A #41124A
monochromatic
#121906 #121906 #374A12 #5C7B1E #80AC2A

Accessibility & contrast

On white

9.76
#374A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#374A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374A12
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374A12#FFFFFF#000000##FFFFFF
##374A121.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450A
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#3A463F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #374a12;
/* rgb */ color: rgb(55, 74, 18);
/* oklch */ color: oklch(38.0% 0.083 126.3);
Tailwind
colors: {
  custom: {
    50: '#707c54',
    500: '#374a12',
    950: '#000000',
  },
}
SCSS
$custom: #374a12;
$custom-light: #707c54;
$custom-dark: #000000;
JSON
{
  "hex": "#374a12",
  "rgb": {
    "r": 55,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 80.357,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3802,
    "c": 0.08319,
    "h": 126.3
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#374A12
secondary
#4F3583
accent
#44E47A
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#080903
muted
#7B7B78

Preview Lab

Preview with #374A12

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

Preview Lab → · Contrast checker → · Palette generator →

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