#340F02#340F02

#340F02 is a very dark, moderate orange. Relative luminance 0.011; OKLCH L 22.7% C 0.064 H 41.2°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#340F02
RGBrgb(52, 15, 2)
HSLhsl(16, 93%, 11%)
HSVhsv(16, 96%, 20%)
CMYKcmyk(0%, 71.2%, 96.2%, 79.6%)
CIE-LABlab(9.61, 17.70, 13.98)
CIE-LCHlch(9.61, 22.56, 38.31°)
OKLaboklab(22.75% 0.0485 0.0425)
OKLCHoklch(22.75% 0.064 41.2)
XYZxyz(1.5981, 1.0763, 0.1810)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F02 #022734
analogous
#34020E #340F02 #342802
triadic
#340F02 #02340F #0F0234
tetradic
#340F02 #0E3402 #022734 #280234
square
#340F02 #0E3402 #022734 #280234
split-complementary
#340F02 #023428 #020E34
monochromatic
#1D0801 #1D0801 #340F02 #6F2004 #AA3107

Accessibility & contrast

On white

17.28
#340F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F02
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F02#FFFFFF#000000##FFFFFF
##340F021.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1501
Deuteranopia (green-blind)
#231E01
Tritanopia (blue-blind)
#3A060C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340f02;
/* rgb */ color: rgb(52, 15, 2);
/* oklch */ color: oklch(22.7% 0.064 41.2);
Tailwind
colors: {
  custom: {
    50: '#6f4f47',
    500: '#340f02',
    950: '#000000',
  },
}
SCSS
$custom: #340f02;
$custom-light: #6f4f47;
$custom-dark: #000000;
JSON
{
  "hex": "#340f02",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 2
  },
  "hsl": {
    "h": 15.6,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22746,
    "c": 0.06449,
    "h": 41.2
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#340F02
secondary
#1A6078
accent
#C7FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080200
muted
#7B7877

Preview Lab

Preview with #340F02

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

Preview Lab → · Contrast checker → · Palette generator →

#340F02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva