#273708#273708

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

Color values

HEX#273708
RGBrgb(39, 55, 8)
HSLhsl(80, 75%, 12%)
HSVhsv(80, 85%, 22%)
CMYKcmyk(29.1%, 0%, 85.5%, 78.4%)
CIE-LABlab(20.76, -14.93, 25.41)
CIE-LCHlch(20.76, 29.47, 120.44°)
OKLaboklab(31.18% -0.043 0.0574)
OKLCHoklch(31.18% 0.072 126.8)
XYZxyz(2.2467, 3.1812, 0.7253)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273708 #180837
analogous
#373008 #273708 #0F3708
triadic
#273708 #082737 #370827
tetradic
#273708 #083730 #180837 #37080F
square
#273708 #083730 #180837 #37080F
split-complementary
#273708 #080F37 #300837
monochromatic
#131B04 #131B04 #273708 #4D6C10 #73A218

Accessibility & contrast

On white

12.83
#273708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273708
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273708#FFFFFF#000000##FFFFFF
##2737081.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273708;
/* rgb */ color: rgb(39, 55, 8);
/* oklch */ color: oklch(31.2% 0.072 126.8);
Tailwind
colors: {
  custom: {
    50: '#636e4b',
    500: '#273708',
    950: '#000000',
  },
}
SCSS
$custom: #273708;
$custom-light: #636e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#273708",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 8
  },
  "hsl": {
    "h": 80.426,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31179,
    "c": 0.0717,
    "h": 126.8
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#273708
secondary
#412576
accent
#37F176
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273708

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

Preview Lab → · Contrast checker → · Palette generator →

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