#272F04#272F04

#272F04 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.8% C 0.063 H 119.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#272F04
RGBrgb(39, 47, 4)
HSLhsl(71, 84%, 10%)
HSVhsv(71, 91%, 18%)
CMYKcmyk(17%, 0%, 91.5%, 81.6%)
CIE-LABlab(17.80, -10.57, 23.63)
CIE-LCHlch(17.80, 25.88, 114.10°)
OKLaboklab(28.78% -0.0316 0.0551)
OKLCHoklch(28.78% 0.063 119.8)
XYZxyz(1.8752, 2.4731, 0.4934)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F04 #0C042F
analogous
#2F2204 #272F04 #112F04
triadic
#272F04 #04272F #2F0427
tetradic
#272F04 #042F22 #0C042F #2F0411
square
#272F04 #042F22 #0C042F #2F0411
split-complementary
#272F04 #04112F #22042F
monochromatic
#171C02 #171C02 #272F04 #566709 #85A00E

Accessibility & contrast

On white

14.05
#272F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272F04
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F04#FFFFFF#000000##FFFFFF
##272F041.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#322C07
Tritanopia (blue-blind)
#2A2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #272f04;
/* rgb */ color: rgb(39, 47, 4);
/* oklch */ color: oklch(28.8% 0.063 119.8);
Tailwind
colors: {
  custom: {
    50: '#626749',
    500: '#272f04',
    950: '#000000',
  },
}
SCSS
$custom: #272f04;
$custom-light: #626749;
$custom-dark: #000000;
JSON
{
  "hex": "#272f04",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 71.163,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.28775,
    "c": 0.06349,
    "h": 119.8
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#272F04
secondary
#2D1D72
accent
#2DFB53
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #272F04

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

Preview Lab → · Contrast checker → · Palette generator →

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