#272E12#272E12

#272E12 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.7% C 0.047 H 121.0°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#272E12
RGBrgb(39, 46, 18)
HSLhsl(75, 44%, 13%)
HSVhsv(75, 61%, 18%)
CMYKcmyk(15.2%, 0%, 60.9%, 82%)
CIE-LABlab(17.59, -8.56, 16.89)
CIE-LCHlch(17.59, 18.94, 116.88°)
OKLaboklab(28.66% -0.0241 0.0402)
OKLCHoklch(28.66% 0.047 121)
XYZxyz(1.9229, 2.4290, 0.9397)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E12 #19122E
analogous
#2E2712 #272E12 #192E12
triadic
#272E12 #12272E #2E1227
tetradic
#272E12 #122E27 #19122E #2E1219
square
#272E12 #122E27 #19122E #2E1219
split-complementary
#272E12 #12192E #27122E
monochromatic
#131609 #131609 #272E12 #4C5A23 #728634

Accessibility & contrast

On white

14.13
#272E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#272E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E12
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E12#FFFFFF#000000##FFFFFF
##272E121.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0F
Deuteranopia (green-blind)
#302B14
Tritanopia (blue-blind)
#292C28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #272e12;
/* rgb */ color: rgb(39, 46, 18);
/* oklch */ color: oklch(28.7% 0.047 121.0);
Tailwind
colors: {
  custom: {
    50: '#626650',
    500: '#272e12',
    950: '#000000',
  },
}
SCSS
$custom: #272e12;
$custom-light: #626650;
$custom-dark: #000000;
JSON
{
  "hex": "#272e12",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 75,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28664,
    "c": 0.04687,
    "h": 121
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#272E12
secondary
#423666
accent
#54D374
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050602
muted
#797A78

Preview Lab

Preview with #272E12

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

Preview Lab → · Contrast checker → · Palette generator →

#272E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva