#273E12#273E12

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

Color values

HEX#273E12
RGBrgb(39, 62, 18)
HSLhsl(91, 55%, 16%)
HSVhsv(91, 71%, 24%)
CMYKcmyk(37.1%, 0%, 71%, 75.7%)
CIE-LABlab(23.41, -17.89, 23.58)
CIE-LCHlch(23.41, 29.60, 127.18°)
OKLaboklab(33.36% -0.05 0.0546)
OKLCHoklch(33.36% 0.074 132.5)
XYZxyz(2.6685, 3.9202, 1.1882)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E12 #29123E
analogous
#3D3E12 #273E12 #123E13
triadic
#273E12 #12273E #3E1227
tetradic
#273E12 #123D3E #29123E #3E1312
square
#273E12 #123D3E #29123E #3E1312
split-complementary
#273E12 #13123E #3E123D
monochromatic
#0F1807 #0F1807 #273E12 #456D20 #639D2E

Accessibility & contrast

On white

11.77
#273E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#273E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E12
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E12#FFFFFF#000000##FFFFFF
##273E121.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3E3715
Tritanopia (blue-blind)
#273B35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273e12;
/* rgb */ color: rgb(39, 62, 18);
/* oklch */ color: oklch(33.4% 0.074 132.5);
Tailwind
colors: {
  custom: {
    50: '#637352',
    500: '#273e12',
    950: '#000000',
  },
}
SCSS
$custom: #273e12;
$custom-light: #637352;
$custom-dark: #000000;
JSON
{
  "hex": "#273e12",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 91.364,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33363,
    "c": 0.07403,
    "h": 132.5
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#273E12
secondary
#573577
accent
#49DE97
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #273E12

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

Preview Lab → · Contrast checker → · Palette generator →

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