#334124#334124

#334124 is a dark, muted yellow-green. Relative luminance 0.046; OKLCH L 35.4% C 0.051 H 129.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#334124
RGBrgb(51, 65, 36)
HSLhsl(89, 29%, 20%)
HSVhsv(89, 45%, 25%)
CMYKcmyk(21.5%, 0%, 44.6%, 74.5%)
CIE-LABlab(25.60, -11.80, 15.88)
CIE-LCHlch(25.60, 19.78, 126.61°)
OKLaboklab(35.45% -0.0323 0.039)
OKLCHoklch(35.45% 0.051 129.7)
XYZxyz(3.5739, 4.6117, 2.3706)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334124 #322441
analogous
#414124 #334124 #244124
triadic
#334124 #243341 #412433
tetradic
#334124 #244141 #322441 #412424
square
#334124 #244141 #322441 #412424
split-complementary
#334124 #242441 #412441
monochromatic
#0F140B #141A0E #334124 #52683A #719050

Accessibility & contrast

On white

10.92
#334124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#334124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334124
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334124#FFFFFF#000000##FFFFFF
##3341241.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D22
Deuteranopia (green-blind)
#413C26
Tritanopia (blue-blind)
#343F3A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #334124;
/* rgb */ color: rgb(51, 65, 36);
/* oklch */ color: oklch(35.4% 0.051 129.7);
Tailwind
colors: {
  custom: {
    50: '#6b755f',
    500: '#334124',
    950: '#000000',
  },
}
SCSS
$custom: #334124;
$custom-light: #6b755f;
$custom-dark: #000000;
JSON
{
  "hex": "#334124",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 36
  },
  "hsl": {
    "h": 88.966,
    "s": 28.713,
    "l": 19.804
  },
  "oklch": {
    "l": 0.35448,
    "c": 0.05069,
    "h": 129.7
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#334124
secondary
#604D74
accent
#63C592
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #334124

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

Preview Lab → · Contrast checker → · Palette generator →

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