#272E07#272E07

#272E07 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.059 H 119.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#272E07
RGBrgb(39, 46, 7)
HSLhsl(71, 74%, 10%)
HSVhsv(71, 85%, 18%)
CMYKcmyk(15.2%, 0%, 84.8%, 82%)
CIE-LABlab(17.46, -9.69, 22.00)
CIE-LCHlch(17.46, 24.04, 113.77°)
OKLaboklab(28.52% -0.0287 0.0515)
OKLCHoklch(28.52% 0.059 119.1)
XYZxyz(1.8521, 2.4007, 0.5668)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E07 #0E072E
analogous
#2E2107 #272E07 #132E07
triadic
#272E07 #07272E #2E0727
tetradic
#272E07 #072E21 #0E072E #2E0713
square
#272E07 #072E21 #0E072E #2E0713
split-complementary
#272E07 #07132E #21072E
monochromatic
#171B04 #171B04 #272E07 #54630F #819817

Accessibility & contrast

On white

14.19
#272E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#272E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E07
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E07#FFFFFF#000000##FFFFFF
##272E071.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B03
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#2A2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #272e07;
/* rgb */ color: rgb(39, 46, 7);
/* oklch */ color: oklch(28.5% 0.059 119.1);
Tailwind
colors: {
  custom: {
    50: '#62664a',
    500: '#272e07',
    950: '#000000',
  },
}
SCSS
$custom: #272e07;
$custom-light: #62664a;
$custom-dark: #000000;
JSON
{
  "hex": "#272e07",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 70.769,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28516,
    "c": 0.05894,
    "h": 119.1
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#272E07
secondary
#30236E
accent
#38F059
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #272E07

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

Preview Lab → · Contrast checker → · Palette generator →

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