#272B0D#272B0D

#272B0D is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.7% C 0.048 H 116.0°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#272B0D
RGBrgb(39, 43, 13)
HSLhsl(68, 54%, 11%)
HSVhsv(68, 70%, 17%)
CMYKcmyk(9.3%, 0%, 69.8%, 83.1%)
CIE-LABlab(16.45, -7.24, 18.20)
CIE-LCHlch(16.45, 19.59, 111.68°)
OKLaboklab(27.72% -0.021 0.0432)
OKLCHoklch(27.72% 0.048 116)
XYZxyz(1.7733, 2.1882, 0.7096)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B0D #110D2B
analogous
#2B200D #272B0D #182B0D
triadic
#272B0D #0D272B #2B0D27
tetradic
#272B0D #0D2B20 #110D2B #2B0D18
square
#272B0D #0D2B20 #110D2B #2B0D18
split-complementary
#272B0D #0D182B #200D2B
monochromatic
#151707 #151707 #272B0D #525A1B #7C8929

Accessibility & contrast

On white

14.61
#272B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#272B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B0D
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B0D#FFFFFF#000000##FFFFFF
##272B0D1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272b0d;
/* rgb */ color: rgb(39, 43, 13);
/* oklch */ color: oklch(27.7% 0.048 116.0);
Tailwind
colors: {
  custom: {
    50: '#62644d',
    500: '#272b0d',
    950: '#000000',
  },
}
SCSS
$custom: #272b0d;
$custom-light: #62644d;
$custom-dark: #000000;
JSON
{
  "hex": "#272b0d",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 13
  },
  "hsl": {
    "h": 68,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2772,
    "c": 0.04805,
    "h": 116
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#272B0D
secondary
#362E66
accent
#4BDD5E
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #272B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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