#272D02#272D02

#272D02 is a dark, moderate yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.063 H 117.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#272D02
RGBrgb(39, 45, 2)
HSLhsl(68, 91%, 9%)
HSVhsv(68, 96%, 18%)
CMYKcmyk(13.3%, 0%, 95.6%, 82.4%)
CIE-LABlab(17.05, -9.52, 23.53)
CIE-LCHlch(17.05, 25.39, 112.02°)
OKLaboklab(28.17% -0.029 0.0557)
OKLCHoklch(28.17% 0.063 117.5)
XYZxyz(1.7861, 2.3125, 0.4097)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D02 #08022D
analogous
#2D1E02 #272D02 #122D02
triadic
#272D02 #02272D #2D0227
tetradic
#272D02 #022D1E #08022D #2D0212
square
#272D02 #022D1E #08022D #2D0212
split-complementary
#272D02 #02122D #1E022D
monochromatic
#191D01 #191D01 #272D02 #5A6805 #8DA207

Accessibility & contrast

On white

14.36
#272D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#272D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D02
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D02#FFFFFF#000000##FFFFFF
##272D021.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#302A05
Tritanopia (blue-blind)
#2A2A25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #272d02;
/* rgb */ color: rgb(39, 45, 2);
/* oklch */ color: oklch(28.2% 0.063 117.5);
Tailwind
colors: {
  custom: {
    50: '#626548',
    500: '#272d02',
    950: '#000000',
  },
}
SCSS
$custom: #272d02;
$custom-light: #626548;
$custom-dark: #000000;
JSON
{
  "hex": "#272d02",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 68.372,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28166,
    "c": 0.06284,
    "h": 117.5
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#272D02
secondary
#251972
accent
#29FF47
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #272D02

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

Preview Lab → · Contrast checker → · Palette generator →

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