#374B0C#374B0C

#374B0C is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.3% C 0.089 H 126.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#374B0C
RGBrgb(55, 75, 12)
HSLhsl(79, 72%, 17%)
HSVhsv(79, 84%, 29%)
CMYKcmyk(26.7%, 0%, 84%, 70.6%)
CIE-LABlab(29.08, -18.15, 32.47)
CIE-LCHlch(29.08, 37.20, 119.20°)
OKLaboklab(38.25% -0.0525 0.0719)
OKLCHoklch(38.25% 0.089 126.1)
XYZxyz(4.1580, 5.8709, 1.2619)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374B0C #200C4B
analogous
#4B400C #374B0C #174B0C
triadic
#374B0C #0C374B #4B0C37
tetradic
#374B0C #0C4B40 #200C4B #4B0C17
square
#374B0C #0C4B40 #200C4B #4B0C17
split-complementary
#374B0C #0C174B #400C4B
monochromatic
#131A04 #131A04 #374B0C #5E8014 #84B51D

Accessibility & contrast

On white

9.66
#374B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#374B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374B0C
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374B0C#FFFFFF#000000##FFFFFF
##374B0C1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#4D4412
Tritanopia (blue-blind)
#3A473F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #374b0c;
/* rgb */ color: rgb(55, 75, 12);
/* oklch */ color: oklch(38.3% 0.089 126.1);
Tailwind
colors: {
  custom: {
    50: '#707d51',
    500: '#374b0c',
    950: '#000000',
  },
}
SCSS
$custom: #374b0c;
$custom-light: #707d51;
$custom-dark: #000000;
JSON
{
  "hex": "#374b0c",
  "rgb": {
    "r": 55,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 79.048,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.38251,
    "c": 0.089,
    "h": 126.1
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#374B0C
secondary
#492C87
accent
#39EF73
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #374B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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