#272E01#272E01

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

Color values

HEX#272E01
RGBrgb(39, 46, 1)
HSLhsl(69, 96%, 9%)
HSVhsv(69, 98%, 18%)
CMYKcmyk(15.2%, 0%, 97.8%, 82%)
CIE-LABlab(17.40, -10.23, 24.37)
CIE-LCHlch(17.40, 26.43, 112.76°)
OKLaboklab(28.45% -0.0311 0.0574)
OKLCHoklch(28.45% 0.065 118.5)
XYZxyz(1.8192, 2.3875, 0.3937)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E01 #08012E
analogous
#2E1F01 #272E01 #112E01
triadic
#272E01 #01272E #2E0127
tetradic
#272E01 #012E1F #08012E #2E0111
square
#272E01 #012E1F #08012E #2E0111
split-complementary
#272E01 #01112E #1F012E
monochromatic
#191E01 #191E01 #272E01 #5A6A02 #8DA604

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272E01#FFFFFF#000000##FFFFFF
##272E011.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)
#312B04
Tritanopia (blue-blind)
#2A2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #272e01;
/* rgb */ color: rgb(39, 46, 1);
/* oklch */ color: oklch(28.4% 0.065 118.5);
Tailwind
colors: {
  custom: {
    50: '#626647',
    500: '#272e01',
    950: '#000000',
  },
}
SCSS
$custom: #272e01;
$custom-light: #626647;
$custom-dark: #000000;
JSON
{
  "hex": "#272e01",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 69.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28447,
    "c": 0.06531,
    "h": 118.5
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#272E01
secondary
#251774
accent
#29FF4A
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #272E01

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

Preview Lab → · Contrast checker → · Palette generator →

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