#272D04#272D04

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

Color values

HEX#272D04
RGBrgb(39, 45, 4)
HSLhsl(69, 84%, 10%)
HSVhsv(69, 91%, 18%)
CMYKcmyk(13.3%, 0%, 91.1%, 82.4%)
CIE-LABlab(17.07, -9.34, 22.74)
CIE-LCHlch(17.07, 24.59, 112.33°)
OKLaboklab(28.19% -0.0282 0.0537)
OKLCHoklch(28.19% 0.061 117.7)
XYZxyz(1.7970, 2.3169, 0.4674)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D04 #0A042D
analogous
#2D1F04 #272D04 #132D04
triadic
#272D04 #04272D #2D0427
tetradic
#272D04 #042D1F #0A042D #2D0413
square
#272D04 #042D1F #0A042D #2D0413
split-complementary
#272D04 #04132D #1F042D
monochromatic
#181C02 #181C02 #272D04 #586509 #889D0E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272D04#FFFFFF#000000##FFFFFF
##272D041.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)
#302A07
Tritanopia (blue-blind)
#2A2A25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #272d04;
/* rgb */ color: rgb(39, 45, 4);
/* oklch */ color: oklch(28.2% 0.061 117.7);
Tailwind
colors: {
  custom: {
    50: '#626549',
    500: '#272d04',
    950: '#000000',
  },
}
SCSS
$custom: #272d04;
$custom-light: #626549;
$custom-dark: #000000;
JSON
{
  "hex": "#272d04",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 68.78,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28189,
    "c": 0.06064,
    "h": 117.7
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#272D04
secondary
#291D70
accent
#2EFA4C
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050501
muted
#797A77

Preview Lab

Preview with #272D04

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

Preview Lab → · Contrast checker → · Palette generator →

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