#273A04#273A04

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

Color values

HEX#273A04
RGBrgb(39, 58, 4)
HSLhsl(81, 87%, 12%)
HSVhsv(81, 93%, 23%)
CMYKcmyk(32.8%, 0%, 93.1%, 77.3%)
CIE-LABlab(21.82, -16.92, 28.20)
CIE-LCHlch(21.82, 32.88, 120.96°)
OKLaboklab(32.04% -0.0488 0.0627)
OKLCHoklch(32.04% 0.079 127.9)
XYZxyz(2.3717, 3.4662, 0.6589)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A04 #17043A
analogous
#3A3204 #273A04 #0C3A04
triadic
#273A04 #04273A #3A0427
tetradic
#273A04 #043A32 #17043A #3A040C
square
#273A04 #043A32 #17043A #3A040C
split-complementary
#273A04 #040C3A #32043A
monochromatic
#131D02 #131D02 #273A04 #4D7308 #74AD0C

Accessibility & contrast

On white

12.40
#273A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273A04
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A04#FFFFFF#000000##FFFFFF
##273A041.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273a04;
/* rgb */ color: rgb(39, 58, 4);
/* oklch */ color: oklch(32.0% 0.079 127.9);
Tailwind
colors: {
  custom: {
    50: '#63704a',
    500: '#273a04',
    950: '#000000',
  },
}
SCSS
$custom: #273a04;
$custom-light: #63704a;
$custom-dark: #000000;
JSON
{
  "hex": "#273a04",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 81.111,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32035,
    "c": 0.07948,
    "h": 127.9
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#273A04
secondary
#3F1E7C
accent
#2BFD75
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273A04

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

Preview Lab → · Contrast checker → · Palette generator →

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