#272402#272402

#272402 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.6% C 0.051 H 104.5°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#272402
RGBrgb(39, 36, 2)
HSLhsl(55, 90%, 8%)
HSVhsv(55, 95%, 15%)
CMYKcmyk(0%, 7.7%, 94.9%, 84.7%)
CIE-LABlab(13.81, -3.68, 19.42)
CIE-LCHlch(13.81, 19.77, 100.74°)
OKLaboklab(25.58% -0.0129 0.0498)
OKLCHoklch(25.58% 0.051 104.5)
XYZxyz(1.4786, 1.6975, 0.3072)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272402 #020527
analogous
#271102 #272402 #172702
triadic
#272402 #022724 #240227
tetradic
#272402 #022711 #020527 #270217
square
#272402 #022711 #020527 #270217
split-complementary
#272402 #021727 #110227
monochromatic
#1D1B01 #1D1B01 #272402 #615A05 #9B8F08

Accessibility & contrast

On white

15.68
#272402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#272402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272402
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272402#FFFFFF#000000##FFFFFF
##2724021.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#292404
Tritanopia (blue-blind)
#2B211D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #272402;
/* rgb */ color: rgb(39, 36, 2);
/* oklch */ color: oklch(25.6% 0.051 104.5);
Tailwind
colors: {
  custom: {
    50: '#625e47',
    500: '#272402',
    950: '#000000',
  },
}
SCSS
$custom: #272402;
$custom-light: #625e47;
$custom-dark: #000000;
JSON
{
  "hex": "#272402",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 2
  },
  "hsl": {
    "h": 55.135,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.25575,
    "c": 0.05144,
    "h": 104.5
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#272402
secondary
#181F6C
accent
#3AFF29
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050400
muted
#797977

Preview Lab

Preview with #272402

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

Preview Lab → · Contrast checker → · Palette generator →

#272402 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva