#272F0B#272F0B

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

Color values

HEX#272F0B
RGBrgb(39, 47, 11)
HSLhsl(73, 62%, 11%)
HSVhsv(73, 77%, 18%)
CMYKcmyk(17%, 0%, 76.6%, 81.6%)
CIE-LABlab(17.87, -9.95, 20.85)
CIE-LCHlch(17.87, 23.10, 115.52°)
OKLaboklab(28.85% -0.0289 0.0486)
OKLCHoklch(28.85% 0.057 120.7)
XYZxyz(1.9136, 2.4885, 0.6961)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F0B #130B2F
analogous
#2F250B #272F0B #152F0B
triadic
#272F0B #0B272F #2F0B27
tetradic
#272F0B #0B2F25 #130B2F #2F0B15
square
#272F0B #0B2F25 #130B2F #2F0B15
split-complementary
#272F0B #0B152F #250B2F
monochromatic
#151906 #151906 #272F0B #506117 #799222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272F0B#FFFFFF#000000##FFFFFF
##272F0B1.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)
#322C07
Deuteranopia (green-blind)
#312C0E
Tritanopia (blue-blind)
#2A2C28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #272f0b;
/* rgb */ color: rgb(39, 47, 11);
/* oklch */ color: oklch(28.9% 0.057 120.7);
Tailwind
colors: {
  custom: {
    50: '#62674c',
    500: '#272f0b',
    950: '#000000',
  },
}
SCSS
$custom: #272f0b;
$custom-light: #62674c;
$custom-dark: #000000;
JSON
{
  "hex": "#272f0b",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 73.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28854,
    "c": 0.05654,
    "h": 120.7
  },
  "luminance": 0.02489
}

Semantic roles & 50–950 ramp

primary
#272F0B
secondary
#392A6B
accent
#43E567
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #272F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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