#334B0E#334B0E

#334B0E is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.090 H 129.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#334B0E
RGBrgb(51, 75, 14)
HSLhsl(84, 69%, 17%)
HSVhsv(84, 81%, 29%)
CMYKcmyk(32%, 0%, 81.3%, 70.6%)
CIE-LABlab(28.82, -19.84, 31.33)
CIE-LCHlch(28.82, 37.08, 122.34°)
OKLaboklab(37.97% -0.0566 0.07)
OKLCHoklch(37.97% 0.09 129)
XYZxyz(3.9606, 5.7676, 1.3200)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B0E #260E4B
analogous
#4B450E #334B0E #144B0E
triadic
#334B0E #0E334B #4B0E33
tetradic
#334B0E #0E4B45 #260E4B #4B0E14
square
#334B0E #0E4B45 #260E4B #4B0E14
split-complementary
#334B0E #0E144B #450E4B
monochromatic
#121A05 #121A05 #334B0E #567F18 #79B221

Accessibility & contrast

On white

9.75
#334B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#334B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334B0E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334B0E#FFFFFF#000000##FFFFFF
##334B0E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4504
Deuteranopia (green-blind)
#4C4314
Tritanopia (blue-blind)
#35473F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #334b0e;
/* rgb */ color: rgb(51, 75, 14);
/* oklch */ color: oklch(38.0% 0.090 129.0);
Tailwind
colors: {
  custom: {
    50: '#6d7d51',
    500: '#334b0e',
    950: '#000000',
  },
}
SCSS
$custom: #334b0e;
$custom-light: #6d7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#334b0e",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 83.607,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37966,
    "c": 0.09,
    "h": 129
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#334B0E
secondary
#512F86
accent
#3CEB81
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334B0E

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

Preview Lab → · Contrast checker → · Palette generator →

#334B0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva