#272A07#272A07

#272A07 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.053 H 114.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#272A07
RGBrgb(39, 42, 7)
HSLhsl(65, 71%, 10%)
HSVhsv(65, 83%, 16%)
CMYKcmyk(7.1%, 0%, 83.3%, 83.5%)
CIE-LABlab(16.02, -7.16, 20.22)
CIE-LCHlch(16.02, 21.45, 109.51°)
OKLaboklab(27.35% -0.0217 0.0484)
OKLCHoklch(27.35% 0.053 114.1)
XYZxyz(1.7031, 2.1026, 0.5171)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A07 #0A072A
analogous
#2A1C07 #272A07 #162A07
triadic
#272A07 #07272A #2A0727
tetradic
#272A07 #072A1C #0A072A #2A0716
square
#272A07 #072A1C #0A072A #2A0716
split-complementary
#272A07 #07162A #1C072A
monochromatic
#181A04 #181A04 #272A07 #585E10 #889318

Accessibility & contrast

On white

14.78
#272A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272A07
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A07#FFFFFF#000000##FFFFFF
##272A071.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2703
Deuteranopia (green-blind)
#2E2809
Tritanopia (blue-blind)
#2A2723
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #272a07;
/* rgb */ color: rgb(39, 42, 7);
/* oklch */ color: oklch(27.4% 0.053 114.1);
Tailwind
colors: {
  custom: {
    50: '#62634a',
    500: '#272a07',
    950: '#000000',
  },
}
SCSS
$custom: #272a07;
$custom-light: #62634a;
$custom-dark: #000000;
JSON
{
  "hex": "#272a07",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 65.143,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27354,
    "c": 0.05306,
    "h": 114.1
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#272A07
secondary
#29236A
accent
#3AEE49
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #272A07

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

Preview Lab → · Contrast checker → · Palette generator →

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