#334412#334412

#334412 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.076 H 126.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#334412
RGBrgb(51, 68, 18)
HSLhsl(80, 58%, 17%)
HSVhsv(80, 74%, 27%)
CMYKcmyk(25%, 0%, 73.5%, 73.3%)
CIE-LABlab(26.39, -15.73, 27.06)
CIE-LCHlch(26.39, 31.30, 120.18°)
OKLaboklab(36.01% -0.045 0.0617)
OKLCHoklch(36.01% 0.076 126.1)
XYZxyz(3.5416, 4.8817, 1.3278)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334412 #231244
analogous
#443C12 #334412 #1A4412
triadic
#334412 #123344 #441233
tetradic
#334412 #12443C #231244 #44121A
square
#334412 #12443C #231244 #44121A
split-complementary
#334412 #121A44 #3C1244
monochromatic
#121806 #121806 #334412 #57741F #7CA52C

Accessibility & contrast

On white

10.63
#334412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#334412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334412
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334412#FFFFFF#000000##FFFFFF
##3344121.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0B
Deuteranopia (green-blind)
#463E16
Tritanopia (blue-blind)
#35413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #334412;
/* rgb */ color: rgb(51, 68, 18);
/* oklch */ color: oklch(36.0% 0.076 126.1);
Tailwind
colors: {
  custom: {
    50: '#6c7853',
    500: '#334412',
    950: '#000000',
  },
}
SCSS
$custom: #334412;
$custom-light: #6c7853;
$custom-dark: #000000;
JSON
{
  "hex": "#334412",
  "rgb": {
    "r": 51,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 80.4,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3601,
    "c": 0.07635,
    "h": 126.1
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#334412
secondary
#4D357D
accent
#46E17B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #334412

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

Preview Lab → · Contrast checker → · Palette generator →

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