#334B10#334B10

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

Color values

HEX#334B10
RGBrgb(51, 75, 16)
HSLhsl(84, 65%, 18%)
HSVhsv(84, 79%, 29%)
CMYKcmyk(32%, 0%, 78.7%, 70.6%)
CIE-LABlab(28.83, -19.69, 30.50)
CIE-LCHlch(28.83, 36.31, 122.85°)
OKLaboklab(37.98% -0.056 0.0686)
OKLCHoklch(37.98% 0.089 129.3)
XYZxyz(3.9748, 5.7733, 1.3950)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B10 #28104B
analogous
#4B4510 #334B10 #154B10
triadic
#334B10 #10334B #4B1033
tetradic
#334B10 #104B45 #28104B #4B1015
square
#334B10 #104B45 #28104B #4B1015
split-complementary
#334B10 #10154B #45104B
monochromatic
#111905 #111905 #334B10 #557D1B #78B026

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334B10#FFFFFF#000000##FFFFFF
##334B101.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)
#4F4506
Deuteranopia (green-blind)
#4C4315
Tritanopia (blue-blind)
#35473F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #334b10;
/* rgb */ color: rgb(51, 75, 16);
/* oklch */ color: oklch(38.0% 0.089 129.3);
Tailwind
colors: {
  custom: {
    50: '#6d7d52',
    500: '#334b10',
    950: '#000000',
  },
}
SCSS
$custom: #334b10;
$custom-light: #6d7d52;
$custom-dark: #000000;
JSON
{
  "hex": "#334b10",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 84.407,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37983,
    "c": 0.08856,
    "h": 129.3
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#334B10
secondary
#543285
accent
#40E884
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334B10

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

Preview Lab → · Contrast checker → · Palette generator →

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