#273704#273704

#273704 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.075 H 126.2°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#273704
RGBrgb(39, 55, 4)
HSLhsl(79, 86%, 12%)
HSVhsv(79, 93%, 22%)
CMYKcmyk(29.1%, 0%, 92.7%, 78.4%)
CIE-LABlab(20.72, -15.25, 27.00)
CIE-LCHlch(20.72, 31.01, 119.46°)
OKLaboklab(31.14% -0.0443 0.0607)
OKLCHoklch(31.14% 0.075 126.2)
XYZxyz(2.2248, 3.1724, 0.6100)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273704 #140437
analogous
#372E04 #273704 #0D3704
triadic
#273704 #042737 #370427
tetradic
#273704 #04372E #140437 #37040D
square
#273704 #04372E #140437 #37040D
split-complementary
#273704 #040D37 #2E0437
monochromatic
#141D02 #141D02 #273704 #4F7008 #78A90C

Accessibility & contrast

On white

12.85
#273704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#273704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273704
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273704#FFFFFF#000000##FFFFFF
##2737041.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3200
Deuteranopia (green-blind)
#383208
Tritanopia (blue-blind)
#29342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #273704;
/* rgb */ color: rgb(39, 55, 4);
/* oklch */ color: oklch(31.1% 0.075 126.2);
Tailwind
colors: {
  custom: {
    50: '#636d49',
    500: '#273704',
    950: '#000000',
  },
}
SCSS
$custom: #273704;
$custom-light: #636d49;
$custom-dark: #000000;
JSON
{
  "hex": "#273704",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 4
  },
  "hsl": {
    "h": 78.824,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31141,
    "c": 0.07513,
    "h": 126.2
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#273704
secondary
#3A1E79
accent
#2BFD6D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273704

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

Preview Lab → · Contrast checker → · Palette generator →

#273704 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva