#334710#334710

#334710 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.8% C 0.083 H 127.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#334710
RGBrgb(51, 71, 16)
HSLhsl(82, 63%, 17%)
HSVhsv(82, 77%, 28%)
CMYKcmyk(28.2%, 0%, 77.5%, 72.2%)
CIE-LABlab(27.43, -17.55, 29.08)
CIE-LCHlch(27.43, 33.97, 121.12°)
OKLaboklab(36.84% -0.0502 0.0656)
OKLCHoklch(36.84% 0.083 127.4)
XYZxyz(3.7120, 5.2476, 1.3074)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334710 #241047
analogous
#474010 #334710 #184710
triadic
#334710 #103347 #471033
tetradic
#334710 #104740 #241047 #471018
square
#334710 #104740 #241047 #471018
split-complementary
#334710 #101847 #401047
monochromatic
#121906 #121906 #334710 #57791B #7BAB27

Accessibility & contrast

On white

10.25
#334710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#334710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334710
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334710#FFFFFF#000000##FFFFFF
##3347101.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4208
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#35433C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #334710;
/* rgb */ color: rgb(51, 71, 16);
/* oklch */ color: oklch(36.8% 0.083 127.4);
Tailwind
colors: {
  custom: {
    50: '#6d7a52',
    500: '#334710',
    950: '#000000',
  },
}
SCSS
$custom: #334710;
$custom-light: #6d7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#334710",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 16
  },
  "hsl": {
    "h": 81.818,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.0826,
    "h": 127.4
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#334710
secondary
#4F3281
accent
#42E67D
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334710

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

Preview Lab → · Contrast checker → · Palette generator →

#334710 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva