#273A03#273A03

#273A03 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.0% C 0.080 H 127.7°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#273A03
RGBrgb(39, 58, 3)
HSLhsl(81, 90%, 12%)
HSVhsv(81, 95%, 23%)
CMYKcmyk(32.8%, 0%, 94.8%, 77.3%)
CIE-LABlab(21.81, -16.99, 28.60)
CIE-LCHlch(21.81, 33.27, 120.72°)
OKLaboklab(32.03% -0.0491 0.0635)
OKLCHoklch(32.03% 0.08 127.7)
XYZxyz(2.3662, 3.4640, 0.6301)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A03 #16033A
analogous
#3A3203 #273A03 #0C3A03
triadic
#273A03 #03273A #3A0327
tetradic
#273A03 #033A32 #16033A #3A030C
square
#273A03 #033A32 #16033A #3A030C
split-complementary
#273A03 #030C3A #32033A
monochromatic
#141D02 #141D02 #273A03 #4E7406 #75AE09

Accessibility & contrast

On white

12.41
#273A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#273A03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A03
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A03#FFFFFF#000000##FFFFFF
##273A031.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3B3408
Tritanopia (blue-blind)
#293730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #273a03;
/* rgb */ color: rgb(39, 58, 3);
/* oklch */ color: oklch(32.0% 0.080 127.7);
Tailwind
colors: {
  custom: {
    50: '#647049',
    500: '#273a03',
    950: '#000000',
  },
}
SCSS
$custom: #273a03;
$custom-light: #647049;
$custom-dark: #000000;
JSON
{
  "hex": "#273a03",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 3
  },
  "hsl": {
    "h": 80.727,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32026,
    "c": 0.08031,
    "h": 127.7
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#273A03
secondary
#3D1C7D
accent
#29FF73
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273A03

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

Preview Lab → · Contrast checker → · Palette generator →

#273A03 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva