#272A05#272A05

#272A05 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.3% C 0.055 H 114.0°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#272A05
RGBrgb(39, 42, 5)
HSLhsl(65, 79%, 9%)
HSVhsv(65, 88%, 16%)
CMYKcmyk(7.1%, 0%, 88.1%, 83.5%)
CIE-LABlab(15.99, -7.35, 21.01)
CIE-LCHlch(15.99, 22.26, 109.29°)
OKLaboklab(27.33% -0.0225 0.0505)
OKLCHoklch(27.33% 0.055 114)
XYZxyz(1.6921, 2.0983, 0.4594)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A05 #08052A
analogous
#2A1B05 #272A05 #152A05
triadic
#272A05 #05272A #2A0527
tetradic
#272A05 #052A1B #08052A #2A0515
square
#272A05 #052A1B #08052A #2A0515
split-complementary
#272A05 #05152A #1B052A
monochromatic
#191B03 #191B03 #272A05 #5A610C #8D9712

Accessibility & contrast

On white

14.79
#272A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272A05
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A05#FFFFFF#000000##FFFFFF
##272A051.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272a05;
/* rgb */ color: rgb(39, 42, 5);
/* oklch */ color: oklch(27.3% 0.055 114.0);
Tailwind
colors: {
  custom: {
    50: '#626349',
    500: '#272a05',
    950: '#000000',
  },
}
SCSS
$custom: #272a05;
$custom-light: #626349;
$custom-dark: #000000;
JSON
{
  "hex": "#272a05",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 64.865,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2733,
    "c": 0.0553,
    "h": 114
  },
  "luminance": 0.02098
}

Semantic roles & 50–950 ramp

primary
#272A05
secondary
#251F6C
accent
#33F542
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #272A05

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

Preview Lab → · Contrast checker → · Palette generator →

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