#334A0A#334A0A

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

Color values

HEX#334A0A
RGBrgb(51, 74, 10)
HSLhsl(82, 76%, 16%)
HSVhsv(82, 86%, 29%)
CMYKcmyk(31.1%, 0%, 86.5%, 71%)
CIE-LABlab(28.44, -19.56, 32.51)
CIE-LCHlch(28.44, 37.94, 121.04°)
OKLaboklab(37.65% -0.0562 0.0717)
OKLCHoklch(37.65% 0.091 128.1)
XYZxyz(3.8688, 5.6232, 1.1687)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A0A #210A4A
analogous
#4A410A #334A0A #134A0A
triadic
#334A0A #0A334A #4A0A33
tetradic
#334A0A #0A4A41 #210A4A #4A0A13
square
#334A0A #0A4A41 #210A4A #4A0A13
split-complementary
#334A0A #0A134A #410A4A
monochromatic
#131B04 #131B04 #334A0A #588011 #7DB619

Accessibility & contrast

On white

9.88
#334A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#334A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334A0A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A0A#FFFFFF#000000##FFFFFF
##334A0A1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #334a0a;
/* rgb */ color: rgb(51, 74, 10);
/* oklch */ color: oklch(37.7% 0.091 128.1);
Tailwind
colors: {
  custom: {
    50: '#6d7c4f',
    500: '#334a0a',
    950: '#000000',
  },
}
SCSS
$custom: #334a0a;
$custom-light: #6d7c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#334a0a",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 10
  },
  "hsl": {
    "h": 81.563,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37651,
    "c": 0.09111,
    "h": 128.1
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#334A0A
secondary
#4B2987
accent
#35F379
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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