#272B0A#272B0A

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

Color values

HEX#272B0A
RGBrgb(39, 43, 10)
HSLhsl(67, 62%, 10%)
HSVhsv(67, 77%, 17%)
CMYKcmyk(9.3%, 0%, 76.7%, 83.1%)
CIE-LABlab(16.41, -7.53, 19.49)
CIE-LCHlch(16.41, 20.89, 111.13°)
OKLaboklab(27.68% -0.0223 0.0463)
OKLCHoklch(27.68% 0.051 115.7)
XYZxyz(1.7554, 2.1810, 0.6156)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B0A #0E0A2B
analogous
#2B1E0A #272B0A #162B0A
triadic
#272B0A #0A272B #2B0A27
tetradic
#272B0A #0A2B1E #0E0A2B #2B0A16
square
#272B0A #0A2B1E #0E0A2B #2B0A16
split-complementary
#272B0A #0A162B #1E0A2B
monochromatic
#171906 #171906 #272B0A #545D16 #818E21

Accessibility & contrast

On white

14.62
#272B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272B0A
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B0A#FFFFFF#000000##FFFFFF
##272B0A1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272b0a;
/* rgb */ color: rgb(39, 43, 10);
/* oklch */ color: oklch(27.7% 0.051 115.7);
Tailwind
colors: {
  custom: {
    50: '#62644b',
    500: '#272b0a',
    950: '#000000',
  },
}
SCSS
$custom: #272b0a;
$custom-light: #62644b;
$custom-dark: #000000;
JSON
{
  "hex": "#272b0a",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 10
  },
  "hsl": {
    "h": 67.273,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2768,
    "c": 0.05135,
    "h": 115.7
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#272B0A
secondary
#302968
accent
#42E556
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #272B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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