#272F03#272F03

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

Color values

HEX#272F03
RGBrgb(39, 47, 3)
HSLhsl(71, 88%, 10%)
HSVhsv(71, 94%, 18%)
CMYKcmyk(17%, 0%, 93.6%, 81.6%)
CIE-LABlab(17.79, -10.66, 24.02)
CIE-LCHlch(17.79, 26.28, 113.93°)
OKLaboklab(28.76% -0.032 0.0561)
OKLCHoklch(28.76% 0.065 119.7)
XYZxyz(1.8697, 2.4709, 0.4646)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F03 #0B032F
analogous
#2F2103 #272F03 #112F03
triadic
#272F03 #03272F #2F0327
tetradic
#272F03 #032F21 #0B032F #2F0311
square
#272F03 #032F21 #0B032F #2F0311
split-complementary
#272F03 #03112F #21032F
monochromatic
#181D02 #181D02 #272F03 #576907 #86A20A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272F03#FFFFFF#000000##FFFFFF
##272F031.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)
#322C06
Tritanopia (blue-blind)
#2A2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #272f03;
/* rgb */ color: rgb(39, 47, 3);
/* oklch */ color: oklch(28.8% 0.065 119.7);
Tailwind
colors: {
  custom: {
    50: '#626748',
    500: '#272f03',
    950: '#000000',
  },
}
SCSS
$custom: #272f03;
$custom-light: #626748;
$custom-dark: #000000;
JSON
{
  "hex": "#272f03",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 70.909,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28764,
    "c": 0.06454,
    "h": 119.7
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#272F03
secondary
#2B1B73
accent
#2AFE50
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #272F03

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

Preview Lab → · Contrast checker → · Palette generator →

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