#272A0B#272A0B

#272A0B is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.049 H 114.3°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#272A0B
RGBrgb(39, 42, 11)
HSLhsl(66, 58%, 10%)
HSVhsv(66, 74%, 16%)
CMYKcmyk(7.1%, 0%, 73.8%, 83.5%)
CIE-LABlab(16.06, -6.80, 18.64)
CIE-LCHlch(16.06, 19.84, 110.04°)
OKLaboklab(27.41% -0.0201 0.0445)
OKLCHoklch(27.41% 0.049 114.3)
XYZxyz(1.7251, 2.1115, 0.6332)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A0B #0E0B2A
analogous
#2A1D0B #272A0B #172A0B
triadic
#272A0B #0B272A #2A0B27
tetradic
#272A0B #0B2A1D #0E0B2A #2A0B17
square
#272A0B #0B2A1D #0E0B2A #2A0B17
split-complementary
#272A0B #0B172A #1D0B2A
monochromatic
#171806 #171806 #272A0B #545A18 #818B24

Accessibility & contrast

On white

14.77
#272A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#272A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A0B
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A0B#FFFFFF#000000##FFFFFF
##272A0B1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2808
Deuteranopia (green-blind)
#2D280D
Tritanopia (blue-blind)
#2A2723
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #272a0b;
/* rgb */ color: rgb(39, 42, 11);
/* oklch */ color: oklch(27.4% 0.049 114.3);
Tailwind
colors: {
  custom: {
    50: '#62634c',
    500: '#272a0b',
    950: '#000000',
  },
}
SCSS
$custom: #272a0b;
$custom-light: #62634c;
$custom-dark: #000000;
JSON
{
  "hex": "#272a0b",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 11
  },
  "hsl": {
    "h": 65.806,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27405,
    "c": 0.04877,
    "h": 114.3
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#272A0B
secondary
#302B66
accent
#46E255
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #272A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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