#272A02#272A02

#272A02 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.3% C 0.059 H 113.9°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#272A02
RGBrgb(39, 42, 2)
HSLhsl(65, 91%, 9%)
HSVhsv(65, 95%, 16%)
CMYKcmyk(7.1%, 0%, 95.2%, 83.5%)
CIE-LABlab(15.96, -7.63, 22.19)
CIE-LCHlch(15.96, 23.46, 108.98°)
OKLaboklab(27.29% -0.0238 0.0537)
OKLCHoklch(27.29% 0.059 113.9)
XYZxyz(1.6757, 2.0917, 0.3729)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A02 #05022A
analogous
#2A1902 #272A02 #132A02
triadic
#272A02 #02272A #2A0227
tetradic
#272A02 #022A19 #05022A #2A0213
square
#272A02 #022A19 #05022A #2A0213
split-complementary
#272A02 #02132A #19022A
monochromatic
#1B1D01 #1B1D01 #272A02 #5D6405 #939F08

Accessibility & contrast

On white

14.81
#272A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#272A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A02
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A02#FFFFFF#000000##FFFFFF
##272A021.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2E2804
Tritanopia (blue-blind)
#2A2722
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #272a02;
/* rgb */ color: rgb(39, 42, 2);
/* oklch */ color: oklch(27.3% 0.059 113.9);
Tailwind
colors: {
  custom: {
    50: '#626348',
    500: '#272a02',
    950: '#000000',
  },
}
SCSS
$custom: #272a02;
$custom-light: #626348;
$custom-dark: #000000;
JSON
{
  "hex": "#272a02",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 64.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27292,
    "c": 0.05879,
    "h": 113.9
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#272A02
secondary
#1F196F
accent
#29FF39
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #272A02

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

Preview Lab → · Contrast checker → · Palette generator →

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