#272F0C#272F0C

#272F0C is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 28.9% C 0.056 H 120.9°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#272F0C
RGBrgb(39, 47, 12)
HSLhsl(74, 59%, 12%)
HSVhsv(74, 74%, 18%)
CMYKcmyk(17%, 0%, 74.5%, 81.6%)
CIE-LABlab(17.88, -9.86, 20.42)
CIE-LCHlch(17.88, 22.67, 115.77°)
OKLaboklab(28.87% -0.0285 0.0476)
OKLCHoklch(28.87% 0.056 120.9)
XYZxyz(1.9196, 2.4909, 0.7274)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F0C #140C2F
analogous
#2F260C #272F0C #162F0C
triadic
#272F0C #0C272F #2F0C27
tetradic
#272F0C #0C2F26 #140C2F #2F0C16
square
#272F0C #0C2F26 #140C2F #2F0C16
split-complementary
#272F0C #0C162F #260C2F
monochromatic
#141806 #141806 #272F0C #4F6018 #789125

Accessibility & contrast

On white

14.02
#272F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#272F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F0C
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F0C#FFFFFF#000000##FFFFFF
##272F0C1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C08
Deuteranopia (green-blind)
#312C0E
Tritanopia (blue-blind)
#292C28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #272f0c;
/* rgb */ color: rgb(39, 47, 12);
/* oklch */ color: oklch(28.9% 0.056 120.9);
Tailwind
colors: {
  custom: {
    50: '#62674d',
    500: '#272f0c',
    950: '#000000',
  },
}
SCSS
$custom: #272f0c;
$custom-light: #62674d;
$custom-dark: #000000;
JSON
{
  "hex": "#272f0c",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 73.714,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28866,
    "c": 0.05552,
    "h": 120.9
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#272F0C
secondary
#3A2C6B
accent
#45E369
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #272F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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