#272B07#272B07

#272B07 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.6% C 0.055 H 115.5°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#272B07
RGBrgb(39, 43, 7)
HSLhsl(67, 72%, 10%)
HSVhsv(67, 84%, 17%)
CMYKcmyk(9.3%, 0%, 83.7%, 83.1%)
CIE-LABlab(16.38, -7.81, 20.67)
CIE-LCHlch(16.38, 22.09, 110.69°)
OKLaboklab(27.64% -0.0234 0.0492)
OKLCHoklch(27.64% 0.055 115.5)
XYZxyz(1.7390, 2.1745, 0.5291)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B07 #0B072B
analogous
#2B1D07 #272B07 #152B07
triadic
#272B07 #07272B #2B0727
tetradic
#272B07 #072B1D #0B072B #2B0715
square
#272B07 #072B1D #0B072B #2B0715
split-complementary
#272B07 #07152B #1D072B
monochromatic
#181A04 #181A04 #272B07 #576010 #869418

Accessibility & contrast

On white

14.64
#272B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#272B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B07
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B07#FFFFFF#000000##FFFFFF
##272B071.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2803
Deuteranopia (green-blind)
#2E2909
Tritanopia (blue-blind)
#2A2824
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #272b07;
/* rgb */ color: rgb(39, 43, 7);
/* oklch */ color: oklch(27.6% 0.055 115.5);
Tailwind
colors: {
  custom: {
    50: '#62644a',
    500: '#272b07',
    950: '#000000',
  },
}
SCSS
$custom: #272b07;
$custom-light: #62644a;
$custom-dark: #000000;
JSON
{
  "hex": "#272b07",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 66.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27643,
    "c": 0.05451,
    "h": 115.5
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#272B07
secondary
#2B236B
accent
#39EF4D
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #272B07

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

Preview Lab → · Contrast checker → · Palette generator →

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