#27340B#27340B

#27340B is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.064 H 125.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#27340B
RGBrgb(39, 52, 11)
HSLhsl(79, 65%, 12%)
HSVhsv(79, 79%, 20%)
CMYKcmyk(25%, 0%, 78.8%, 79.6%)
CIE-LABlab(19.69, -12.96, 22.98)
CIE-LCHlch(19.69, 26.38, 119.43°)
OKLaboklab(30.32% -0.0372 0.0527)
OKLCHoklch(30.32% 0.064 125.3)
XYZxyz(2.1251, 2.9115, 0.7666)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27340B #180B34
analogous
#342C0B #27340B #13340B
triadic
#27340B #0B2734 #340B27
tetradic
#27340B #0B342C #180B34 #340B13
square
#27340B #0B342C #180B34 #340B13
split-complementary
#27340B #0B1334 #2C0B34
monochromatic
#131905 #131905 #27340B #4D6716 #739920

Accessibility & contrast

On white

13.27
#27340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#27340B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27340B
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27340B#FFFFFF#000000##FFFFFF
##27340B1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373006
Deuteranopia (green-blind)
#362F0E
Tritanopia (blue-blind)
#29312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27340b;
/* rgb */ color: rgb(39, 52, 11);
/* oklch */ color: oklch(30.3% 0.064 125.3);
Tailwind
colors: {
  custom: {
    50: '#636b4d',
    500: '#27340b',
    950: '#000000',
  },
}
SCSS
$custom: #27340b;
$custom-light: #636b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#27340b",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 79.024,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30321,
    "c": 0.06448,
    "h": 125.3
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#27340B
secondary
#402A71
accent
#40E875
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #27340B

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

Preview Lab → · Contrast checker → · Palette generator →

#27340B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva