#273707#273707

#273707 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.2% C 0.073 H 126.6°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#273707
RGBrgb(39, 55, 7)
HSLhsl(80, 77%, 12%)
HSVhsv(80, 87%, 22%)
CMYKcmyk(29.1%, 0%, 87.3%, 78.4%)
CIE-LABlab(20.75, -15.01, 25.81)
CIE-LCHlch(20.75, 29.86, 120.19°)
OKLaboklab(31.17% -0.0433 0.0582)
OKLCHoklch(31.17% 0.073 126.6)
XYZxyz(2.2412, 3.1790, 0.6965)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273707 #170737
analogous
#372F07 #273707 #0F3707
triadic
#273707 #072737 #370727
tetradic
#273707 #07372F #170737 #37070F
square
#273707 #07372F #170737 #37070F
split-complementary
#273707 #070F37 #2F0737
monochromatic
#131B03 #131B03 #273707 #4D6D0E #74A415

Accessibility & contrast

On white

12.84
#273707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#273707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273707
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273707#FFFFFF#000000##FFFFFF
##2737071.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3301
Deuteranopia (green-blind)
#38320B
Tritanopia (blue-blind)
#29342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #273707;
/* rgb */ color: rgb(39, 55, 7);
/* oklch */ color: oklch(31.2% 0.073 126.6);
Tailwind
colors: {
  custom: {
    50: '#636e4b',
    500: '#273707',
    950: '#000000',
  },
}
SCSS
$custom: #273707;
$custom-light: #636e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#273707",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 7
  },
  "hsl": {
    "h": 80,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.3117,
    "c": 0.07255,
    "h": 126.6
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#273707
secondary
#3F2377
accent
#34F474
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273707

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

Preview Lab → · Contrast checker → · Palette generator →

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