#272D12#272D12

#272D12 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.4% C 0.045 H 119.7°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#272D12
RGBrgb(39, 45, 18)
HSLhsl(73, 43%, 12%)
HSVhsv(73, 60%, 18%)
CMYKcmyk(13.3%, 0%, 60%, 82.4%)
CIE-LABlab(17.23, -7.93, 16.46)
CIE-LCHlch(17.23, 18.27, 115.72°)
OKLaboklab(28.38% -0.0224 0.0392)
OKLCHoklch(28.38% 0.045 119.7)
XYZxyz(1.8843, 2.3518, 0.9268)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D12 #18122D
analogous
#2D2612 #272D12 #1A2D12
triadic
#272D12 #12272D #2D1227
tetradic
#272D12 #122D26 #18122D #2D121A
square
#272D12 #122D26 #18122D #2D121A
split-complementary
#272D12 #121A2D #26122D
monochromatic
#131609 #131609 #272D12 #4D5923 #738435

Accessibility & contrast

On white

14.28
#272D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#272D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D12
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D12#FFFFFF#000000##FFFFFF
##272D121.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A10
Deuteranopia (green-blind)
#2F2A13
Tritanopia (blue-blind)
#292B27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #272d12;
/* rgb */ color: rgb(39, 45, 18);
/* oklch */ color: oklch(28.4% 0.045 119.7);
Tailwind
colors: {
  custom: {
    50: '#626550',
    500: '#272d12',
    950: '#000000',
  },
}
SCSS
$custom: #272d12;
$custom-light: #626550;
$custom-dark: #000000;
JSON
{
  "hex": "#272d12",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 73.333,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28375,
    "c": 0.04515,
    "h": 119.7
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#272D12
secondary
#403665
accent
#55D371
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050502
muted
#797A78

Preview Lab

Preview with #272D12

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

Preview Lab → · Contrast checker → · Palette generator →

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