#272D03#272D03

#272D03 is a dark, moderate yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.062 H 117.6°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#272D03
RGBrgb(39, 45, 3)
HSLhsl(69, 88%, 9%)
HSVhsv(69, 93%, 18%)
CMYKcmyk(13.3%, 0%, 93.3%, 82.4%)
CIE-LABlab(17.06, -9.43, 23.14)
CIE-LCHlch(17.06, 24.99, 112.17°)
OKLaboklab(28.18% -0.0286 0.0547)
OKLCHoklch(28.18% 0.062 117.6)
XYZxyz(1.7916, 2.3147, 0.4385)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D03 #09032D
analogous
#2D1E03 #272D03 #122D03
triadic
#272D03 #03272D #2D0327
tetradic
#272D03 #032D1E #09032D #2D0312
square
#272D03 #032D1E #09032D #2D0312
split-complementary
#272D03 #03122D #1E032D
monochromatic
#191D02 #191D02 #272D03 #596607 #8AA00B

Accessibility & contrast

On white

14.35
#272D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#272D03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D03
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D03#FFFFFF#000000##FFFFFF
##272D031.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#302A06
Tritanopia (blue-blind)
#2A2A25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #272d03;
/* rgb */ color: rgb(39, 45, 3);
/* oklch */ color: oklch(28.2% 0.062 117.6);
Tailwind
colors: {
  custom: {
    50: '#626548',
    500: '#272d03',
    950: '#000000',
  },
}
SCSS
$custom: #272d03;
$custom-light: #626548;
$custom-dark: #000000;
JSON
{
  "hex": "#272d03",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 68.571,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28177,
    "c": 0.06173,
    "h": 117.6
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#272D03
secondary
#271B71
accent
#2AFE48
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #272D03

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

Preview Lab → · Contrast checker → · Palette generator →

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