#272F07#272F07

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

Color values

HEX#272F07
RGBrgb(39, 47, 7)
HSLhsl(72, 74%, 11%)
HSVhsv(72, 85%, 18%)
CMYKcmyk(17%, 0%, 85.1%, 81.6%)
CIE-LABlab(17.83, -10.31, 22.44)
CIE-LCHlch(17.83, 24.69, 114.67°)
OKLaboklab(28.81% -0.0304 0.0523)
OKLCHoklch(28.81% 0.06 120.2)
XYZxyz(1.8916, 2.4797, 0.5800)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F07 #0F072F
analogous
#2F2307 #272F07 #132F07
triadic
#272F07 #07272F #2F0727
tetradic
#272F07 #072F23 #0F072F #2F0713
square
#272F07 #072F23 #0F072F #2F0713
split-complementary
#272F07 #07132F #23072F
monochromatic
#161B04 #161B04 #272F07 #53640F #7F9A17

Accessibility & contrast

On white

14.04
#272F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272F07
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F07#FFFFFF#000000##FFFFFF
##272F071.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272f07;
/* rgb */ color: rgb(39, 47, 7);
/* oklch */ color: oklch(28.8% 0.060 120.2);
Tailwind
colors: {
  custom: {
    50: '#62674a',
    500: '#272f07',
    950: '#000000',
  },
}
SCSS
$custom: #272f07;
$custom-light: #62674a;
$custom-dark: #000000;
JSON
{
  "hex": "#272f07",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 72,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28809,
    "c": 0.06045,
    "h": 120.2
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#272F07
secondary
#32236F
accent
#37F15C
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #272F07

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

Preview Lab → · Contrast checker → · Palette generator →

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