#27540D#27540D

#27540D is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.110 H 136.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#27540D
RGBrgb(39, 84, 13)
HSLhsl(98, 73%, 19%)
HSVhsv(98, 85%, 33%)
CMYKcmyk(53.6%, 0%, 84.5%, 67.1%)
CIE-LABlab(31.35, -29.03, 33.92)
CIE-LCHlch(31.35, 44.65, 130.55°)
OKLaboklab(39.85% -0.0807 0.0755)
OKLCHoklch(39.85% 0.11 136.9)
XYZxyz(4.0795, 6.8008, 1.4784)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27540D #3A0D54
analogous
#4B540D #27540D #0D5417
triadic
#27540D #0D2754 #540D27
tetradic
#27540D #0D4B54 #3A0D54 #54170D
square
#27540D #0D4B54 #3A0D54 #54170D
split-complementary
#27540D #170D54 #540D4B
monochromatic
#0C1A04 #0E1F05 #27540D #408915 #58BE1D

Accessibility & contrast

On white

8.90
#27540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#27540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27540D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27540D#FFFFFF#000000##FFFFFF
##27540D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#245147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #27540d;
/* rgb */ color: rgb(39, 84, 13);
/* oklch */ color: oklch(39.9% 0.110 136.9);
Tailwind
colors: {
  custom: {
    50: '#678452',
    500: '#27540d',
    950: '#000000',
  },
}
SCSS
$custom: #27540d;
$custom-light: #678452;
$custom-dark: #000000;
JSON
{
  "hex": "#27540d",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 98.028,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39854,
    "c": 0.11045,
    "h": 136.9
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#27540D
secondary
#6B2E8F
accent
#38F0AD
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #27540D

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

Preview Lab → · Contrast checker → · Palette generator →

#27540D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva