#27540C#27540C

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

Color values

HEX#27540C
RGBrgb(39, 84, 12)
HSLhsl(98, 75%, 19%)
HSVhsv(98, 86%, 33%)
CMYKcmyk(53.6%, 0%, 85.7%, 67.1%)
CIE-LABlab(31.34, -29.09, 34.27)
CIE-LCHlch(31.34, 44.95, 130.33°)
OKLaboklab(39.85% -0.0809 0.076)
OKLCHoklch(39.85% 0.111 136.8)
XYZxyz(4.0733, 6.7982, 1.4453)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27540C #390C54
analogous
#4B540C #27540C #0C5415
triadic
#27540C #0C2754 #540C27
tetradic
#27540C #0C4B54 #390C54 #54150C
square
#27540C #0C4B54 #390C54 #54150C
split-complementary
#27540C #150C54 #540C4B
monochromatic
#0C1B04 #0E1E04 #27540C #408A14 #59BF1B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27540C#FFFFFF#000000##FFFFFF
##27540C1.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)
#514814
Tritanopia (blue-blind)
#245147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #27540c;
/* rgb */ color: rgb(39, 84, 12);
/* oklch */ color: oklch(39.8% 0.111 136.8);
Tailwind
colors: {
  custom: {
    50: '#678452',
    500: '#27540c',
    950: '#000000',
  },
}
SCSS
$custom: #27540c;
$custom-light: #678452;
$custom-dark: #000000;
JSON
{
  "hex": "#27540c",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 12
  },
  "hsl": {
    "h": 97.5,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.11102,
    "h": 136.8
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#27540C
secondary
#6A2D8F
accent
#36F2AB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #27540C

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

Preview Lab → · Contrast checker → · Palette generator →

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