#34500F#34500F

#34500F is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.5% C 0.096 H 130.4°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#34500F
RGBrgb(52, 80, 15)
HSLhsl(86, 68%, 19%)
HSVhsv(86, 81%, 31%)
CMYKcmyk(35%, 0%, 81.3%, 68.6%)
CIE-LABlab(30.64, -21.92, 32.73)
CIE-LCHlch(30.64, 39.39, 123.81°)
OKLaboklab(39.47% -0.0623 0.073)
OKLCHoklch(39.47% 0.096 130.4)
XYZxyz(4.3710, 6.5017, 1.4765)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34500F #2B0F50
analogous
#504B0F #34500F #13500F
triadic
#34500F #0F3450 #500F34
tetradic
#34500F #0F504B #2B0F50 #500F13
square
#34500F #0F504B #2B0F50 #500F13
split-complementary
#34500F #0F1350 #4B0F50
monochromatic
#111A05 #121C05 #34500F #558419 #77B722

Accessibility & contrast

On white

9.13
#34500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#34500F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34500F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34500F#FFFFFF#000000##FFFFFF
##34500F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544903
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#354C44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #34500f;
/* rgb */ color: rgb(52, 80, 15);
/* oklch */ color: oklch(39.5% 0.096 130.4);
Tailwind
colors: {
  custom: {
    50: '#6e8153',
    500: '#34500f',
    950: '#000000',
  },
}
SCSS
$custom: #34500f;
$custom-light: #6e8153;
$custom-dark: #000000;
JSON
{
  "hex": "#34500f",
  "rgb": {
    "r": 52,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 85.846,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39472,
    "c": 0.09597,
    "h": 130.4
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#34500F
secondary
#57318A
accent
#3DEB88
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #34500F

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

Preview Lab → · Contrast checker → · Palette generator →

#34500F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva