#272C08#272C08

#272C08 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.055 H 116.9°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#272C08
RGBrgb(39, 44, 8)
HSLhsl(68, 69%, 10%)
HSVhsv(68, 82%, 17%)
CMYKcmyk(11.4%, 0%, 81.8%, 82.7%)
CIE-LABlab(16.75, -8.35, 20.72)
CIE-LCHlch(16.75, 22.34, 111.95°)
OKLaboklab(27.94% -0.0248 0.049)
OKLCHoklch(27.94% 0.055 116.9)
XYZxyz(1.7813, 2.2503, 0.5702)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C08 #0D082C
analogous
#2C1F08 #272C08 #152C08
triadic
#272C08 #08272C #2C0827
tetradic
#272C08 #082C1F #0D082C #2C0815
square
#272C08 #082C1F #0D082C #2C0815
split-complementary
#272C08 #08152C #1F082C
monochromatic
#171A05 #171A05 #272C08 #556011 #83941B

Accessibility & contrast

On white

14.48
#272C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#272C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C08
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C08#FFFFFF#000000##FFFFFF
##272C081.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302904
Deuteranopia (green-blind)
#2F2A0B
Tritanopia (blue-blind)
#2A2925
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #272c08;
/* rgb */ color: rgb(39, 44, 8);
/* oklch */ color: oklch(27.9% 0.055 116.9);
Tailwind
colors: {
  custom: {
    50: '#62654a',
    500: '#272c08',
    950: '#000000',
  },
}
SCSS
$custom: #272c08;
$custom-light: #62654a;
$custom-dark: #000000;
JSON
{
  "hex": "#272c08",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 68.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27945,
    "c": 0.05493,
    "h": 116.9
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#272C08
secondary
#2F256B
accent
#3CEC54
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #272C08

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

Preview Lab → · Contrast checker → · Palette generator →

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