#334B0F#334B0F

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

Color values

HEX#334B0F
RGBrgb(51, 75, 15)
HSLhsl(84, 67%, 18%)
HSVhsv(84, 80%, 29%)
CMYKcmyk(32%, 0%, 80%, 70.6%)
CIE-LABlab(28.83, -19.77, 30.92)
CIE-LCHlch(28.83, 36.70, 122.59°)
OKLaboklab(37.97% -0.0563 0.0693)
OKLCHoklch(37.97% 0.089 129.1)
XYZxyz(3.9675, 5.7703, 1.3566)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B0F #270F4B
analogous
#4B450F #334B0F #154B0F
triadic
#334B0F #0F334B #4B0F33
tetradic
#334B0F #0F4B45 #270F4B #4B0F15
square
#334B0F #0F4B45 #270F4B #4B0F15
split-complementary
#334B0F #0F154B #450F4B
monochromatic
#111A05 #111A05 #334B0F #567E19 #78B123

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #334b0f;
/* rgb */ color: rgb(51, 75, 15);
/* oklch */ color: oklch(38.0% 0.089 129.1);
Tailwind
colors: {
  custom: {
    50: '#6d7d52',
    500: '#334b0f',
    950: '#000000',
  },
}
SCSS
$custom: #334b0f;
$custom-light: #6d7d52;
$custom-dark: #000000;
JSON
{
  "hex": "#334b0f",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 84,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37974,
    "c": 0.0893,
    "h": 129.1
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#334B0F
secondary
#523085
accent
#3EEA83
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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