#272202#272202

#272202 is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.0% C 0.049 H 100.6°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#272202
RGBrgb(39, 34, 2)
HSLhsl(52, 90%, 8%)
HSVhsv(52, 95%, 15%)
CMYKcmyk(0%, 12.8%, 94.9%, 84.7%)
CIE-LABlab(13.11, -2.32, 18.48)
CIE-LCHlch(13.11, 18.63, 97.15°)
OKLaboklab(25.01% -0.0091 0.0485)
OKLCHoklch(25.01% 0.049 100.6)
XYZxyz(1.4198, 1.5798, 0.2876)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272202 #020727
analogous
#270F02 #272202 #192702
triadic
#272202 #022722 #220227
tetradic
#272202 #02270F #020727 #270219
square
#272202 #02270F #020727 #270219
split-complementary
#272202 #021927 #0F0227
monochromatic
#1D1901 #1D1901 #272202 #615505 #9B8808

Accessibility & contrast

On white

15.96
#272202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#272202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272202
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272202#FFFFFF#000000##FFFFFF
##2722021.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262100
Deuteranopia (green-blind)
#282303
Tritanopia (blue-blind)
#2B1F1C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #272202;
/* rgb */ color: rgb(39, 34, 2);
/* oklch */ color: oklch(25.0% 0.049 100.6);
Tailwind
colors: {
  custom: {
    50: '#625c47',
    500: '#272202',
    950: '#000000',
  },
}
SCSS
$custom: #272202;
$custom-light: #625c47;
$custom-dark: #000000;
JSON
{
  "hex": "#272202",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 2
  },
  "hsl": {
    "h": 51.892,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.25014,
    "c": 0.04932,
    "h": 100.6
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#272202
secondary
#18246C
accent
#46FF29
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050400
muted
#797977

Preview Lab

Preview with #272202

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

Preview Lab → · Contrast checker → · Palette generator →

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