#272D08#272D08

#272D08 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.056 H 118.1°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#272D08
RGBrgb(39, 45, 8)
HSLhsl(70, 70%, 10%)
HSVhsv(70, 82%, 18%)
CMYKcmyk(13.3%, 0%, 82.2%, 82.4%)
CIE-LABlab(17.11, -8.98, 21.17)
CIE-LCHlch(17.11, 22.99, 112.99°)
OKLaboklab(28.24% -0.0266 0.0498)
OKLCHoklch(28.24% 0.056 118.1)
XYZxyz(1.8190, 2.3257, 0.5828)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D08 #0E082D
analogous
#2D2008 #272D08 #142D08
triadic
#272D08 #08272D #2D0827
tetradic
#272D08 #082D20 #0E082D #2D0814
square
#272D08 #082D20 #0E082D #2D0814
split-complementary
#272D08 #08142D #20082D
monochromatic
#171A05 #171A05 #272D08 #546111 #81951A

Accessibility & contrast

On white

14.33
#272D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#272D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D08
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D08#FFFFFF#000000##FFFFFF
##272D081.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A04
Deuteranopia (green-blind)
#302A0B
Tritanopia (blue-blind)
#2A2A26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #272d08;
/* rgb */ color: rgb(39, 45, 8);
/* oklch */ color: oklch(28.2% 0.056 118.1);
Tailwind
colors: {
  custom: {
    50: '#62654b',
    500: '#272d08',
    950: '#000000',
  },
}
SCSS
$custom: #272d08;
$custom-light: #62654b;
$custom-dark: #000000;
JSON
{
  "hex": "#272d08",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 69.73,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28236,
    "c": 0.05643,
    "h": 118.1
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#272D08
secondary
#30256C
accent
#3BED58
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #272D08

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

Preview Lab → · Contrast checker → · Palette generator →

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