#334205#334205

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

Color values

HEX#334205
RGBrgb(51, 66, 5)
HSLhsl(75, 86%, 14%)
HSVhsv(75, 92%, 26%)
CMYKcmyk(22.7%, 0%, 92.4%, 74.1%)
CIE-LABlab(25.60, -15.51, 31.87)
CIE-LCHlch(25.60, 35.44, 115.95°)
OKLaboklab(35.33% -0.0457 0.0693)
OKLCHoklch(35.33% 0.083 123.4)
XYZxyz(3.3409, 4.6112, 0.8576)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334205 #140542
analogous
#423305 #334205 #154205
triadic
#334205 #053342 #420533
tetradic
#334205 #054233 #140542 #420515
square
#334205 #054233 #140542 #420515
split-complementary
#334205 #051542 #330542
monochromatic
#161C02 #161C02 #334205 #5F7B09 #8BB40E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334205#FFFFFF#000000##FFFFFF
##3342051.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)
#453D0B
Tritanopia (blue-blind)
#363E37
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #334205;
/* rgb */ color: rgb(51, 66, 5);
/* oklch */ color: oklch(35.3% 0.083 123.4);
Tailwind
colors: {
  custom: {
    50: '#6d764c',
    500: '#334205',
    950: '#000000',
  },
}
SCSS
$custom: #334205;
$custom-light: #6d764c;
$custom-dark: #000000;
JSON
{
  "hex": "#334205",
  "rgb": {
    "r": 51,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 74.754,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.35334,
    "c": 0.08302,
    "h": 123.4
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#334205
secondary
#392082
accent
#2CFC5F
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #334205

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

Preview Lab → · Contrast checker → · Palette generator →

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