#272E04#272E04

#272E04 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.062 H 118.8°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#272E04
RGBrgb(39, 46, 4)
HSLhsl(70, 84%, 10%)
HSVhsv(70, 91%, 18%)
CMYKcmyk(15.2%, 0%, 91.3%, 82%)
CIE-LABlab(17.43, -9.96, 23.19)
CIE-LCHlch(17.43, 25.24, 113.24°)
OKLaboklab(28.48% -0.0299 0.0544)
OKLCHoklch(28.48% 0.062 118.8)
XYZxyz(1.8357, 2.3941, 0.4802)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E04 #0B042E
analogous
#2E2004 #272E04 #122E04
triadic
#272E04 #04272E #2E0427
tetradic
#272E04 #042E20 #0B042E #2E0412
square
#272E04 #042E20 #0B042E #2E0412
split-complementary
#272E04 #04122E #20042E
monochromatic
#181C02 #181C02 #272E04 #576609 #869F0E

Accessibility & contrast

On white

14.20
#272E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272E04
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E04#FFFFFF#000000##FFFFFF
##272E041.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272e04;
/* rgb */ color: rgb(39, 46, 4);
/* oklch */ color: oklch(28.5% 0.062 118.8);
Tailwind
colors: {
  custom: {
    50: '#626649',
    500: '#272e04',
    950: '#000000',
  },
}
SCSS
$custom: #272e04;
$custom-light: #626649;
$custom-dark: #000000;
JSON
{
  "hex": "#272e04",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 70,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28482,
    "c": 0.06206,
    "h": 118.8
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#272E04
secondary
#2B1D71
accent
#2EFA50
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #272E04

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

Preview Lab → · Contrast checker → · Palette generator →

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