#272C03#272C03

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

Color values

HEX#272C03
RGBrgb(39, 44, 3)
HSLhsl(67, 87%, 9%)
HSVhsv(67, 93%, 17%)
CMYKcmyk(11.4%, 0%, 93.2%, 82.7%)
CIE-LABlab(16.70, -8.80, 22.69)
CIE-LCHlch(16.70, 24.34, 111.20°)
OKLaboklab(27.89% -0.0269 0.054)
OKLCHoklch(27.89% 0.06 116.5)
XYZxyz(1.7539, 2.2393, 0.4260)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C03 #08032C
analogous
#2C1D03 #272C03 #132C03
triadic
#272C03 #03272C #2C0327
tetradic
#272C03 #032C1D #08032C #2C0313
square
#272C03 #032C1D #08032C #2C0313
split-complementary
#272C03 #03132C #1D032C
monochromatic
#191D02 #191D02 #272C03 #5A6507 #8D9F0B

Accessibility & contrast

On white

14.50
#272C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272C03
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C03#FFFFFF#000000##FFFFFF
##272C031.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272c03;
/* rgb */ color: rgb(39, 44, 3);
/* oklch */ color: oklch(27.9% 0.060 116.5);
Tailwind
colors: {
  custom: {
    50: '#626548',
    500: '#272c03',
    950: '#000000',
  },
}
SCSS
$custom: #272c03;
$custom-light: #626548;
$custom-dark: #000000;
JSON
{
  "hex": "#272c03",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 67.317,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27886,
    "c": 0.06034,
    "h": 116.5
  },
  "luminance": 0.02239
}

Semantic roles & 50–950 ramp

primary
#272C03
secondary
#251B70
accent
#2AFD44
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #272C03

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

Preview Lab → · Contrast checker → · Palette generator →

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