#334A0E#334A0E

#334A0E is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.7% C 0.089 H 128.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#334A0E
RGBrgb(51, 74, 14)
HSLhsl(83, 68%, 17%)
HSVhsv(83, 81%, 29%)
CMYKcmyk(31.1%, 0%, 81.1%, 71%)
CIE-LABlab(28.47, -19.31, 30.99)
CIE-LCHlch(28.47, 36.51, 121.93°)
OKLaboklab(37.68% -0.0552 0.0692)
OKLCHoklch(37.68% 0.089 128.6)
XYZxyz(3.8933, 5.6330, 1.2975)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A0E #250E4A
analogous
#4A430E #334A0E #154A0E
triadic
#334A0E #0E334A #4A0E33
tetradic
#334A0E #0E4A43 #250E4A #4A0E15
square
#334A0E #0E4A43 #250E4A #4A0E15
split-complementary
#334A0E #0E154A #430E4A
monochromatic
#121A05 #121A05 #334A0E #567D18 #7AB121

Accessibility & contrast

On white

9.87
#334A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#334A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334A0E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A0E#FFFFFF#000000##FFFFFF
##334A0E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4404
Deuteranopia (green-blind)
#4B4314
Tritanopia (blue-blind)
#35463E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #334a0e;
/* rgb */ color: rgb(51, 74, 14);
/* oklch */ color: oklch(37.7% 0.089 128.6);
Tailwind
colors: {
  custom: {
    50: '#6d7c51',
    500: '#334a0e',
    950: '#000000',
  },
}
SCSS
$custom: #334a0e;
$custom-light: #6d7c51;
$custom-dark: #000000;
JSON
{
  "hex": "#334a0e",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 83,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3768,
    "c": 0.08854,
    "h": 128.6
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#334A0E
secondary
#502F85
accent
#3DEB80
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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