#374012#374012

#374012 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.2% C 0.068 H 119.5°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#374012
RGBrgb(55, 64, 18)
HSLhsl(72, 56%, 16%)
HSVhsv(72, 72%, 25%)
CMYKcmyk(14.1%, 0%, 71.9%, 74.9%)
CIE-LABlab(25.33, -11.51, 26.02)
CIE-LCHlch(25.33, 28.45, 113.86°)
OKLaboklab(35.23% -0.0336 0.0594)
OKLCHoklch(35.23% 0.068 119.5)
XYZxyz(3.5182, 4.5227, 1.2598)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374012 #1B1240
analogous
#403212 #374012 #204012
triadic
#374012 #123740 #401237
tetradic
#374012 #124032 #1B1240 #401220
square
#374012 #124032 #1B1240 #401220
split-complementary
#374012 #122040 #321240
monochromatic
#151807 #151807 #374012 #60701F #89A02D

Accessibility & contrast

On white

11.03
#374012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#374012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374012
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374012#FFFFFF#000000##FFFFFF
##3740121.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0C
Deuteranopia (green-blind)
#433C15
Tritanopia (blue-blind)
#3A3C36
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #374012;
/* rgb */ color: rgb(55, 64, 18);
/* oklch */ color: oklch(35.2% 0.068 119.5);
Tailwind
colors: {
  custom: {
    50: '#6f7452',
    500: '#374012',
    950: '#000000',
  },
}
SCSS
$custom: #374012;
$custom-light: #6f7452;
$custom-dark: #000000;
JSON
{
  "hex": "#374012",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 71.739,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35233,
    "c": 0.06823,
    "h": 119.5
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#374012
secondary
#423579
accent
#48DF66
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #374012

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

Preview Lab → · Contrast checker → · Palette generator →

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