#272F08#272F08

#272F08 is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 28.8% C 0.059 H 120.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#272F08
RGBrgb(39, 47, 8)
HSLhsl(72, 71%, 11%)
HSVhsv(72, 83%, 18%)
CMYKcmyk(17%, 0%, 83%, 81.6%)
CIE-LABlab(17.84, -10.22, 22.04)
CIE-LCHlch(17.84, 24.30, 114.87°)
OKLaboklab(28.82% -0.03 0.0513)
OKLCHoklch(28.82% 0.059 120.3)
XYZxyz(1.8971, 2.4819, 0.6088)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F08 #10082F
analogous
#2F2308 #272F08 #132F08
triadic
#272F08 #08272F #2F0827
tetradic
#272F08 #082F23 #10082F #2F0813
square
#272F08 #082F23 #10082F #2F0813
split-complementary
#272F08 #08132F #23082F
monochromatic
#161A04 #161A04 #272F08 #526311 #7E981A

Accessibility & contrast

On white

14.03
#272F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272F08
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F08#FFFFFF#000000##FFFFFF
##272F081.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272f08;
/* rgb */ color: rgb(39, 47, 8);
/* oklch */ color: oklch(28.8% 0.059 120.3);
Tailwind
colors: {
  custom: {
    50: '#62674b',
    500: '#272f08',
    950: '#000000',
  },
}
SCSS
$custom: #272f08;
$custom-light: #62674b;
$custom-dark: #000000;
JSON
{
  "hex": "#272f08",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 72.308,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2882,
    "c": 0.05946,
    "h": 120.3
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#272F08
secondary
#34256E
accent
#3AEE5F
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #272F08

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

Preview Lab → · Contrast checker → · Palette generator →

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