#27540F#27540F

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

Color values

HEX#27540F
RGBrgb(39, 84, 15)
HSLhsl(99, 70%, 19%)
HSVhsv(99, 82%, 33%)
CMYKcmyk(53.6%, 0%, 82.1%, 67.1%)
CIE-LABlab(31.36, -28.89, 33.19)
CIE-LCHlch(31.36, 44.00, 131.04°)
OKLaboklab(39.87% -0.0801 0.0743)
OKLCHoklch(39.87% 0.109 137.2)
XYZxyz(4.0931, 6.8062, 1.5499)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27540F #3C0F54
analogous
#4A540F #27540F #0F5419
triadic
#27540F #0F2754 #540F27
tetradic
#27540F #0F4A54 #3C0F54 #54190F
square
#27540F #0F4A54 #3C0F54 #54190F
split-complementary
#27540F #190F54 #540F4A
monochromatic
#0C1A05 #0F2006 #27540F #3F8818 #57BC22

Accessibility & contrast

On white

8.89
#27540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27540F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27540F#FFFFFF#000000##FFFFFF
##27540F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27540f;
/* rgb */ color: rgb(39, 84, 15);
/* oklch */ color: oklch(39.9% 0.109 137.2);
Tailwind
colors: {
  custom: {
    50: '#678453',
    500: '#27540f',
    950: '#000000',
  },
}
SCSS
$custom: #27540f;
$custom-light: #678453;
$custom-dark: #000000;
JSON
{
  "hex": "#27540f",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 99.13,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39868,
    "c": 0.10926,
    "h": 137.2
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#27540F
secondary
#6E318E
accent
#3BEDAF
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #27540F

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

Preview Lab → · Contrast checker → · Palette generator →

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