#272A06#272A06

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

Color values

HEX#272A06
RGBrgb(39, 42, 6)
HSLhsl(65, 75%, 9%)
HSVhsv(65, 86%, 16%)
CMYKcmyk(7.1%, 0%, 85.7%, 83.5%)
CIE-LABlab(16.01, -7.26, 20.61)
CIE-LCHlch(16.01, 21.85, 109.40°)
OKLaboklab(27.34% -0.0221 0.0495)
OKLCHoklch(27.34% 0.054 114.1)
XYZxyz(1.6976, 2.1004, 0.4883)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A06 #09062A
analogous
#2A1B06 #272A06 #152A06
triadic
#272A06 #06272A #2A0627
tetradic
#272A06 #062A1B #09062A #2A0615
square
#272A06 #062A1B #09062A #2A0615
split-complementary
#272A06 #06152A #1B062A
monochromatic
#191B04 #191B04 #272A06 #59600E #8A9515

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272A06#FFFFFF#000000##FFFFFF
##272A061.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)
#2E2702
Deuteranopia (green-blind)
#2E2808
Tritanopia (blue-blind)
#2A2723
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #272a06;
/* rgb */ color: rgb(39, 42, 6);
/* oklch */ color: oklch(27.3% 0.054 114.1);
Tailwind
colors: {
  custom: {
    50: '#626349',
    500: '#272a06',
    950: '#000000',
  },
}
SCSS
$custom: #272a06;
$custom-light: #626349;
$custom-dark: #000000;
JSON
{
  "hex": "#272a06",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 65,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27342,
    "c": 0.05417,
    "h": 114.1
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#272A06
secondary
#27216B
accent
#36F246
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #272A06

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

Preview Lab → · Contrast checker → · Palette generator →

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