#334208#334208

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

Color values

HEX#334208
RGBrgb(51, 66, 8)
HSLhsl(76, 78%, 15%)
HSVhsv(76, 88%, 26%)
CMYKcmyk(22.7%, 0%, 87.9%, 74.1%)
CIE-LABlab(25.62, -15.33, 30.66)
CIE-LCHlch(25.62, 34.28, 116.56°)
OKLaboklab(35.36% -0.0449 0.0674)
OKLCHoklch(35.36% 0.081 123.7)
XYZxyz(3.3573, 4.6177, 0.9441)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334208 #170842
analogous
#423408 #334208 #164208
triadic
#334208 #083342 #420833
tetradic
#334208 #084234 #170842 #420816
square
#334208 #084234 #170842 #420816
split-complementary
#334208 #081642 #340842
monochromatic
#151B03 #151B03 #334208 #5D790F #87AF15

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334208#FFFFFF#000000##FFFFFF
##3342081.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)
#463D00
Deuteranopia (green-blind)
#443D0E
Tritanopia (blue-blind)
#363E37
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #334208;
/* rgb */ color: rgb(51, 66, 8);
/* oklch */ color: oklch(35.4% 0.081 123.7);
Tailwind
colors: {
  custom: {
    50: '#6d764d',
    500: '#334208',
    950: '#000000',
  },
}
SCSS
$custom: #334208;
$custom-light: #6d764d;
$custom-dark: #000000;
JSON
{
  "hex": "#334208",
  "rgb": {
    "r": 51,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 75.517,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35356,
    "c": 0.08097,
    "h": 123.7
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#334208
secondary
#3D2580
accent
#33F565
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #334208

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

Preview Lab → · Contrast checker → · Palette generator →

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