#272E02#272E02

#272E02 is a dark, moderate yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.064 H 118.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#272E02
RGBrgb(39, 46, 2)
HSLhsl(70, 92%, 9%)
HSVhsv(70, 96%, 18%)
CMYKcmyk(15.2%, 0%, 95.7%, 82%)
CIE-LABlab(17.41, -10.14, 23.98)
CIE-LCHlch(17.41, 26.03, 112.92°)
OKLaboklab(28.46% -0.0307 0.0564)
OKLCHoklch(28.46% 0.064 118.6)
XYZxyz(1.8247, 2.3897, 0.4226)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E02 #09022E
analogous
#2E1F02 #272E02 #112E02
triadic
#272E02 #02272E #2E0227
tetradic
#272E02 #022E1F #09022E #2E0211
square
#272E02 #022E1F #09022E #2E0211
split-complementary
#272E02 #02112E #1F022E
monochromatic
#191D01 #191D01 #272E02 #596905 #8AA307

Accessibility & contrast

On white

14.21
#272E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#272E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E02
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E02#FFFFFF#000000##FFFFFF
##272E021.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#312B05
Tritanopia (blue-blind)
#2A2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #272e02;
/* rgb */ color: rgb(39, 46, 2);
/* oklch */ color: oklch(28.5% 0.064 118.6);
Tailwind
colors: {
  custom: {
    50: '#626648',
    500: '#272e02',
    950: '#000000',
  },
}
SCSS
$custom: #272e02;
$custom-light: #626648;
$custom-dark: #000000;
JSON
{
  "hex": "#272e02",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 69.545,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28459,
    "c": 0.06421,
    "h": 118.6
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#272E02
secondary
#271973
accent
#29FF4B
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #272E02

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

Preview Lab → · Contrast checker → · Palette generator →

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