#272B06#272B06

#272B06 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.6% C 0.056 H 115.4°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#272B06
RGBrgb(39, 43, 6)
HSLhsl(66, 76%, 10%)
HSVhsv(66, 86%, 17%)
CMYKcmyk(9.3%, 0%, 86%, 83.1%)
CIE-LABlab(16.37, -7.90, 21.06)
CIE-LCHlch(16.37, 22.50, 110.56°)
OKLaboklab(27.63% -0.0239 0.0502)
OKLCHoklch(27.63% 0.056 115.4)
XYZxyz(1.7335, 2.1723, 0.5002)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B06 #0A062B
analogous
#2B1D06 #272B06 #152B06
triadic
#272B06 #06272B #2B0627
tetradic
#272B06 #062B1D #0A062B #2B0615
square
#272B06 #062B1D #0A062B #2B0615
split-complementary
#272B06 #06152B #1D062B
monochromatic
#181B04 #181B04 #272B06 #58610D #889615

Accessibility & contrast

On white

14.64
#272B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#272B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B06
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B06#FFFFFF#000000##FFFFFF
##272B061.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272b06;
/* rgb */ color: rgb(39, 43, 6);
/* oklch */ color: oklch(27.6% 0.056 115.4);
Tailwind
colors: {
  custom: {
    50: '#626449',
    500: '#272b06',
    950: '#000000',
  },
}
SCSS
$custom: #272b06;
$custom-light: #626449;
$custom-dark: #000000;
JSON
{
  "hex": "#272b06",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 6
  },
  "hsl": {
    "h": 66.486,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27631,
    "c": 0.0556,
    "h": 115.4
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#272B06
secondary
#29216C
accent
#36F24A
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #272B06

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

Preview Lab → · Contrast checker → · Palette generator →

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