#272B03#272B03

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

Color values

HEX#272B03
RGBrgb(39, 43, 3)
HSLhsl(66, 87%, 9%)
HSVhsv(66, 93%, 17%)
CMYKcmyk(9.3%, 0%, 93%, 83.1%)
CIE-LABlab(16.33, -8.17, 22.24)
CIE-LCHlch(16.33, 23.70, 110.18°)
OKLaboklab(27.6% -0.0251 0.0533)
OKLCHoklch(27.6% 0.059 115.2)
XYZxyz(1.7171, 2.1657, 0.4137)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B03 #07032B
analogous
#2B1B03 #272B03 #132B03
triadic
#272B03 #03272B #2B0327
tetradic
#272B03 #032B1B #07032B #2B0313
square
#272B03 #032B1B #07032B #2B0313
split-complementary
#272B03 #03132B #1B032B
monochromatic
#1A1D02 #1A1D02 #272B03 #5B6407 #8F9D0B

Accessibility & contrast

On white

14.65
#272B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272B03
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B03#FFFFFF#000000##FFFFFF
##272B031.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2F2906
Tritanopia (blue-blind)
#2A2823
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #272b03;
/* rgb */ color: rgb(39, 43, 3);
/* oklch */ color: oklch(27.6% 0.059 115.2);
Tailwind
colors: {
  custom: {
    50: '#626448',
    500: '#272b03',
    950: '#000000',
  },
}
SCSS
$custom: #272b03;
$custom-light: #626448;
$custom-dark: #000000;
JSON
{
  "hex": "#272b03",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 3
  },
  "hsl": {
    "h": 66,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27595,
    "c": 0.05896,
    "h": 115.2
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#272B03
secondary
#231B6F
accent
#2BFD40
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #272B03

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

Preview Lab → · Contrast checker → · Palette generator →

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