#334C0E#334C0E

#334C0E is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.3% C 0.091 H 129.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#334C0E
RGBrgb(51, 76, 14)
HSLhsl(84, 69%, 18%)
HSVhsv(84, 82%, 30%)
CMYKcmyk(32.9%, 0%, 81.6%, 70.2%)
CIE-LABlab(29.17, -20.36, 31.67)
CIE-LCHlch(29.17, 37.65, 122.74°)
OKLaboklab(38.25% -0.058 0.0707)
OKLCHoklch(38.25% 0.091 129.4)
XYZxyz(4.0289, 5.9043, 1.3427)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C0E #270E4C
analogous
#4C460E #334C0E #144C0E
triadic
#334C0E #0E334C #4C0E33
tetradic
#334C0E #0E4C46 #270E4C #4C0E14
square
#334C0E #0E4C46 #270E4C #4C0E14
split-complementary
#334C0E #0E144C #460E4C
monochromatic
#111A05 #111A05 #334C0E #568018 #78B321

Accessibility & contrast

On white

9.63
#334C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#334C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334C0E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334C0E#FFFFFF#000000##FFFFFF
##334C0E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504603
Deuteranopia (green-blind)
#4D4414
Tritanopia (blue-blind)
#354840
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #334c0e;
/* rgb */ color: rgb(51, 76, 14);
/* oklch */ color: oklch(38.3% 0.091 129.4);
Tailwind
colors: {
  custom: {
    50: '#6d7e52',
    500: '#334c0e',
    950: '#000000',
  },
}
SCSS
$custom: #334c0e;
$custom-light: #6d7e52;
$custom-dark: #000000;
JSON
{
  "hex": "#334c0e",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 84.194,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38252,
    "c": 0.09146,
    "h": 129.4
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#334C0E
secondary
#522F87
accent
#3CEC83
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #334C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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