#343F0B#343F0B

#343F0B is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.074 H 120.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#343F0B
RGBrgb(52, 63, 11)
HSLhsl(73, 70%, 15%)
HSVhsv(73, 83%, 25%)
CMYKcmyk(17.5%, 0%, 82.5%, 75.3%)
CIE-LABlab(24.67, -12.94, 28.56)
CIE-LCHlch(24.67, 31.35, 114.37°)
OKLaboklab(34.62% -0.0381 0.0636)
OKLCHoklch(34.62% 0.074 120.9)
XYZxyz(3.2541, 4.3092, 0.9769)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343F0B #160B3F
analogous
#3F300B #343F0B #1A3F0B
triadic
#343F0B #0B343F #3F0B34
tetradic
#343F0B #0B3F30 #160B3F #3F0B1A
square
#343F0B #0B3F30 #160B3F #3F0B1A
split-complementary
#343F0B #0B1A3F #300B3F
monochromatic
#161A05 #161A05 #343F0B #5F7314 #8AA71D

Accessibility & contrast

On white

11.28
#343F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#343F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343F0B
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343F0B#FFFFFF#000000##FFFFFF
##343F0B1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B03
Deuteranopia (green-blind)
#423B0F
Tritanopia (blue-blind)
#373B35
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #343f0b;
/* rgb */ color: rgb(52, 63, 11);
/* oklch */ color: oklch(34.6% 0.074 120.9);
Tailwind
colors: {
  custom: {
    50: '#6d744e',
    500: '#343f0b',
    950: '#000000',
  },
}
SCSS
$custom: #343f0b;
$custom-light: #6d744e;
$custom-dark: #000000;
JSON
{
  "hex": "#343f0b",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 72.692,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34617,
    "c": 0.0741,
    "h": 120.9
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#343F0B
secondary
#3B2A7C
accent
#3BED60
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #343F0B

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

Preview Lab → · Contrast checker → · Palette generator →

#343F0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva