#374C12#374C12

#374C12 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.6% C 0.086 H 127.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#374C12
RGBrgb(55, 76, 18)
HSLhsl(82, 62%, 18%)
HSVhsv(82, 76%, 30%)
CMYKcmyk(27.6%, 0%, 76.3%, 70.2%)
CIE-LABlab(29.47, -18.28, 30.35)
CIE-LCHlch(29.47, 35.43, 121.05°)
OKLaboklab(38.58% -0.0523 0.0685)
OKLCHoklch(38.58% 0.086 127.3)
XYZxyz(4.2692, 6.0247, 1.5101)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374C12 #27124C
analogous
#4C4412 #374C12 #1A4C12
triadic
#374C12 #12374C #4C1237
tetradic
#374C12 #124C44 #27124C #4C121A
square
#374C12 #124C44 #27124C #4C121A
split-complementary
#374C12 #121A4C #44124C
monochromatic
#121906 #131B06 #374C12 #5B7D1E #7FAF29

Accessibility & contrast

On white

9.52
#374C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#374C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374C12
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374C12#FFFFFF#000000##FFFFFF
##374C121.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#394840
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #374c12;
/* rgb */ color: rgb(55, 76, 18);
/* oklch */ color: oklch(38.6% 0.086 127.3);
Tailwind
colors: {
  custom: {
    50: '#707e54',
    500: '#374c12',
    950: '#000000',
  },
}
SCSS
$custom: #374c12;
$custom-light: #707e54;
$custom-dark: #000000;
JSON
{
  "hex": "#374c12",
  "rgb": {
    "r": 55,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 81.724,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38581,
    "c": 0.08618,
    "h": 127.3
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#374C12
secondary
#523585
accent
#43E57E
background
#F6F7F4
surface
#ECEEE8
border
#C7C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #374C12

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

Preview Lab → · Contrast checker → · Palette generator →

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