#272E03#272E03

#272E03 is a dark, moderate yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.063 H 118.7°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#272E03
RGBrgb(39, 46, 3)
HSLhsl(70, 88%, 10%)
HSVhsv(70, 93%, 18%)
CMYKcmyk(15.2%, 0%, 93.5%, 82%)
CIE-LABlab(17.42, -10.05, 23.58)
CIE-LCHlch(17.42, 25.63, 113.08°)
OKLaboklab(28.47% -0.0303 0.0554)
OKLCHoklch(28.47% 0.063 118.7)
XYZxyz(1.8302, 2.3919, 0.4514)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E03 #0A032E
analogous
#2E2003 #272E03 #122E03
triadic
#272E03 #03272E #2E0327
tetradic
#272E03 #032E20 #0A032E #2E0312
square
#272E03 #032E20 #0A032E #2E0312
split-complementary
#272E03 #03122E #20032E
monochromatic
#181D02 #181D02 #272E03 #586707 #88A10A

Accessibility & contrast

On white

14.20
#272E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#272E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E03
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E03#FFFFFF#000000##FFFFFF
##272E031.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#312B06
Tritanopia (blue-blind)
#2A2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #272e03;
/* rgb */ color: rgb(39, 46, 3);
/* oklch */ color: oklch(28.5% 0.063 118.7);
Tailwind
colors: {
  custom: {
    50: '#626648',
    500: '#272e03',
    950: '#000000',
  },
}
SCSS
$custom: #272e03;
$custom-light: #626648;
$custom-dark: #000000;
JSON
{
  "hex": "#272e03",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 3
  },
  "hsl": {
    "h": 69.767,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2847,
    "c": 0.06312,
    "h": 118.7
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#272E03
secondary
#291B72
accent
#2AFE4C
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #272E03

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

Preview Lab → · Contrast checker → · Palette generator →

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