#272B02#272B02

#272B02 is a dark, moderate yellow. Relative luminance 0.022; OKLCH L 27.6% C 0.060 H 115.2°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#272B02
RGBrgb(39, 43, 2)
HSLhsl(66, 91%, 9%)
HSVhsv(66, 95%, 17%)
CMYKcmyk(9.3%, 0%, 95.3%, 83.1%)
CIE-LABlab(16.32, -8.27, 22.64)
CIE-LCHlch(16.32, 24.10, 110.06°)
OKLaboklab(27.58% -0.0256 0.0544)
OKLCHoklch(27.58% 0.06 115.2)
XYZxyz(1.7116, 2.1635, 0.3849)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B02 #06022B
analogous
#2B1B02 #272B02 #132B02
triadic
#272B02 #02272B #2B0227
tetradic
#272B02 #022B1B #06022B #2B0213
square
#272B02 #022B1B #06022B #2B0213
split-complementary
#272B02 #02132B #1B022B
monochromatic
#1B1D01 #1B1D01 #272B02 #5C6505 #91A007

Accessibility & contrast

On white

14.66
#272B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#272B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B02
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B02#FFFFFF#000000##FFFFFF
##272B021.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2F2905
Tritanopia (blue-blind)
#2A2823
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #272b02;
/* rgb */ color: rgb(39, 43, 2);
/* oklch */ color: oklch(27.6% 0.060 115.2);
Tailwind
colors: {
  custom: {
    50: '#626448',
    500: '#272b02',
    950: '#000000',
  },
}
SCSS
$custom: #272b02;
$custom-light: #626448;
$custom-dark: #000000;
JSON
{
  "hex": "#272b02",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 65.854,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27582,
    "c": 0.06012,
    "h": 115.2
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#272B02
secondary
#211970
accent
#29FF3E
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #272B02

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

Preview Lab → · Contrast checker → · Palette generator →

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