#334A10#334A10

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

Color values

HEX#334A10
RGBrgb(51, 74, 16)
HSLhsl(84, 64%, 18%)
HSVhsv(84, 78%, 29%)
CMYKcmyk(31.1%, 0%, 78.4%, 71%)
CIE-LABlab(28.48, -19.17, 30.15)
CIE-LCHlch(28.48, 35.72, 122.45°)
OKLaboklab(37.7% -0.0546 0.0678)
OKLCHoklch(37.7% 0.087 128.8)
XYZxyz(3.9075, 5.6387, 1.3726)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A10 #27104A
analogous
#4A4410 #334A10 #164A10
triadic
#334A10 #10334A #4A1033
tetradic
#334A10 #104A44 #27104A #4A1016
square
#334A10 #104A44 #27104A #4A1016
split-complementary
#334A10 #10164A #44104A
monochromatic
#111905 #111905 #334A10 #567C1B #78AF26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334A10#FFFFFF#000000##FFFFFF
##334A101.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)
#4E4407
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#35463F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #334a10;
/* rgb */ color: rgb(51, 74, 16);
/* oklch */ color: oklch(37.7% 0.087 128.8);
Tailwind
colors: {
  custom: {
    50: '#6d7c52',
    500: '#334a10',
    950: '#000000',
  },
}
SCSS
$custom: #334a10;
$custom-light: #6d7c52;
$custom-dark: #000000;
JSON
{
  "hex": "#334a10",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 83.793,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37697,
    "c": 0.08708,
    "h": 128.8
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#334A10
secondary
#523284
accent
#40E783
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334A10

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

Preview Lab → · Contrast checker → · Palette generator →

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