#273E17#273E17

#273E17 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.4% C 0.069 H 134.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#273E17
RGBrgb(39, 62, 23)
HSLhsl(95, 46%, 17%)
HSVhsv(95, 63%, 24%)
CMYKcmyk(37.1%, 0%, 62.9%, 75.7%)
CIE-LABlab(23.47, -17.29, 20.89)
CIE-LCHlch(23.47, 27.11, 129.62°)
OKLaboklab(33.43% -0.0479 0.0494)
OKLCHoklch(33.43% 0.069 134.1)
XYZxyz(2.7139, 3.9383, 1.4276)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E17 #2E173E
analogous
#3B3E17 #273E17 #173E1B
triadic
#273E17 #17273E #3E1727
tetradic
#273E17 #173B3E #2E173E #3E1B17
square
#273E17 #173B3E #2E173E #3E1B17
split-complementary
#273E17 #1B173E #3E173B
monochromatic
#0E1608 #0E1608 #273E17 #436B28 #5F9738

Accessibility & contrast

On white

11.75
#273E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#273E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E17
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E17#FFFFFF#000000##FFFFFF
##273E171.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403913
Deuteranopia (green-blind)
#3D371A
Tritanopia (blue-blind)
#273C35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273e17;
/* rgb */ color: rgb(39, 62, 23);
/* oklch */ color: oklch(33.4% 0.069 134.1);
Tailwind
colors: {
  custom: {
    50: '#637355',
    500: '#273e17',
    950: '#000000',
  },
}
SCSS
$custom: #273e17;
$custom-light: #637355;
$custom-dark: #000000;
JSON
{
  "hex": "#273e17",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 23
  },
  "hsl": {
    "h": 95.385,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33432,
    "c": 0.06882,
    "h": 134.1
  },
  "luminance": 0.03938
}

Semantic roles & 50–950 ramp

primary
#273E17
secondary
#5D3C75
accent
#52D6A0
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050803
muted
#797B78

Preview Lab

Preview with #273E17

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

Preview Lab → · Contrast checker → · Palette generator →

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