#272F02#272F02

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

Color values

HEX#272F02
RGBrgb(39, 47, 2)
HSLhsl(71, 92%, 10%)
HSVhsv(71, 96%, 18%)
CMYKcmyk(17%, 0%, 95.7%, 81.6%)
CIE-LABlab(17.78, -10.75, 24.42)
CIE-LCHlch(17.78, 26.68, 113.76°)
OKLaboklab(28.75% -0.0324 0.0571)
OKLCHoklch(28.75% 0.066 119.6)
XYZxyz(1.8642, 2.4688, 0.4357)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F02 #0A022F
analogous
#2F2102 #272F02 #102F02
triadic
#272F02 #02272F #2F0227
tetradic
#272F02 #022F21 #0A022F #2F0210
square
#272F02 #022F21 #0A022F #2F0210
split-complementary
#272F02 #02102F #21022F
monochromatic
#181D01 #181D01 #272F02 #586A04 #88A407

Accessibility & contrast

On white

14.06
#272F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272F02
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F02#FFFFFF#000000##FFFFFF
##272F021.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272f02;
/* rgb */ color: rgb(39, 47, 2);
/* oklch */ color: oklch(28.8% 0.066 119.6);
Tailwind
colors: {
  custom: {
    50: '#626748',
    500: '#272f02',
    950: '#000000',
  },
}
SCSS
$custom: #272f02;
$custom-light: #626748;
$custom-dark: #000000;
JSON
{
  "hex": "#272f02",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 70.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28752,
    "c": 0.0656,
    "h": 119.6
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#272F02
secondary
#291974
accent
#29FF4F
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #272F02

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

Preview Lab → · Contrast checker → · Palette generator →

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