#272A09#272A09

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

Color values

HEX#272A09
RGBrgb(39, 42, 9)
HSLhsl(65, 65%, 10%)
HSVhsv(65, 79%, 16%)
CMYKcmyk(7.1%, 0%, 78.6%, 83.5%)
CIE-LABlab(16.04, -6.98, 19.43)
CIE-LCHlch(16.04, 20.65, 109.76°)
OKLaboklab(27.38% -0.0208 0.0464)
OKLCHoklch(27.38% 0.051 114.2)
XYZxyz(1.7140, 2.1070, 0.5748)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A09 #0C092A
analogous
#2A1D09 #272A09 #162A09
triadic
#272A09 #09272A #2A0927
tetradic
#272A09 #092A1D #0C092A #2A0916
square
#272A09 #092A1D #0C092A #2A0916
split-complementary
#272A09 #09162A #1D092A
monochromatic
#171905 #171905 #272A09 #565C14 #858F1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272A09#FFFFFF#000000##FFFFFF
##272A091.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)
#2E2806
Deuteranopia (green-blind)
#2D280B
Tritanopia (blue-blind)
#2A2723
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #272a09;
/* rgb */ color: rgb(39, 42, 9);
/* oklch */ color: oklch(27.4% 0.051 114.2);
Tailwind
colors: {
  custom: {
    50: '#62634b',
    500: '#272a09',
    950: '#000000',
  },
}
SCSS
$custom: #272a09;
$custom-light: #62634b;
$custom-dark: #000000;
JSON
{
  "hex": "#272a09",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 65.455,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.27379,
    "c": 0.0509,
    "h": 114.2
  },
  "luminance": 0.02107
}

Semantic roles & 50–950 ramp

primary
#272A09
secondary
#2D2768
accent
#40E84F
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #272A09

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

Preview Lab → · Contrast checker → · Palette generator →

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