#272C02#272C02

#272C02 is a dark, moderate yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.061 H 116.4°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#272C02
RGBrgb(39, 44, 2)
HSLhsl(67, 91%, 9%)
HSVhsv(67, 95%, 17%)
CMYKcmyk(11.4%, 0%, 95.5%, 82.7%)
CIE-LABlab(16.69, -8.90, 23.09)
CIE-LCHlch(16.69, 24.74, 111.07°)
OKLaboklab(27.87% -0.0273 0.0551)
OKLCHoklch(27.87% 0.061 116.4)
XYZxyz(1.7484, 2.2371, 0.3971)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C02 #07022C
analogous
#2C1C02 #272C02 #122C02
triadic
#272C02 #02272C #2C0227
tetradic
#272C02 #022C1C #07022C #2C0212
square
#272C02 #022C1C #07022C #2C0212
split-complementary
#272C02 #02122C #1C022C
monochromatic
#1A1D01 #1A1D01 #272C02 #5B6705 #8FA107

Accessibility & contrast

On white

14.51
#272C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#272C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C02
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C02#FFFFFF#000000##FFFFFF
##272C021.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#302905
Tritanopia (blue-blind)
#2A2924
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #272c02;
/* rgb */ color: rgb(39, 44, 2);
/* oklch */ color: oklch(27.9% 0.061 116.4);
Tailwind
colors: {
  custom: {
    50: '#626548',
    500: '#272c02',
    950: '#000000',
  },
}
SCSS
$custom: #272c02;
$custom-light: #626548;
$custom-dark: #000000;
JSON
{
  "hex": "#272c02",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 67.143,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27874,
    "c": 0.06147,
    "h": 116.4
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#272C02
secondary
#231971
accent
#29FF42
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #272C02

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

Preview Lab → · Contrast checker → · Palette generator →

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