#344F0C#344F0C

#344F0C is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.2% C 0.096 H 129.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#344F0C
RGBrgb(52, 79, 12)
HSLhsl(84, 74%, 18%)
HSVhsv(84, 85%, 31%)
CMYKcmyk(34.2%, 0%, 84.8%, 69%)
CIE-LABlab(30.27, -21.60, 33.52)
CIE-LCHlch(30.27, 39.88, 122.79°)
OKLaboklab(39.17% -0.0616 0.0742)
OKLCHoklch(39.17% 0.096 129.7)
XYZxyz(4.2785, 6.3484, 1.3477)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344F0C #270C4F
analogous
#4F480C #344F0C #134F0C
triadic
#344F0C #0C344F #4F0C34
tetradic
#344F0C #0C4F48 #270C4F #4F0C13
square
#344F0C #0C4F48 #270C4F #4F0C13
split-complementary
#344F0C #0C134F #480C4F
monochromatic
#111B04 #111B04 #344F0C #578414 #7AB91C

Accessibility & contrast

On white

9.25
#344F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#344F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344F0C
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344F0C#FFFFFF#000000##FFFFFF
##344F0C1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534900
Deuteranopia (green-blind)
#4F4713
Tritanopia (blue-blind)
#364B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #344f0c;
/* rgb */ color: rgb(52, 79, 12);
/* oklch */ color: oklch(39.2% 0.096 129.7);
Tailwind
colors: {
  custom: {
    50: '#6e8051',
    500: '#344f0c',
    950: '#000000',
  },
}
SCSS
$custom: #344f0c;
$custom-light: #6e8051;
$custom-dark: #000000;
JSON
{
  "hex": "#344f0c",
  "rgb": {
    "r": 52,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 84.179,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39165,
    "c": 0.09644,
    "h": 129.7
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#344F0C
secondary
#522C8B
accent
#38F082
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #344F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#344F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva