#273C12#273C12

#273C12 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.071 H 131.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#273C12
RGBrgb(39, 60, 18)
HSLhsl(90, 54%, 15%)
HSVhsv(90, 70%, 24%)
CMYKcmyk(35%, 0%, 70%, 76.5%)
CIE-LABlab(22.68, -16.80, 22.77)
CIE-LCHlch(22.68, 28.30, 126.42°)
OKLaboklab(32.77% -0.047 0.0528)
OKLCHoklch(32.77% 0.071 131.7)
XYZxyz(2.5617, 3.7066, 1.1526)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C12 #27123C
analogous
#3C3C12 #273C12 #123C12
triadic
#273C12 #12273C #3C1227
tetradic
#273C12 #123C3C #27123C #3C1212
square
#273C12 #123C3C #27123C #3C1212
split-complementary
#273C12 #12123C #3C123C
monochromatic
#0F1807 #0F1807 #273C12 #466B20 #649A2E

Accessibility & contrast

On white

12.06
#273C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#273C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C12
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C12#FFFFFF#000000##FFFFFF
##273C121.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370D
Deuteranopia (green-blind)
#3C3615
Tritanopia (blue-blind)
#283933
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #273c12;
/* rgb */ color: rgb(39, 60, 18);
/* oklch */ color: oklch(32.8% 0.071 131.7);
Tailwind
colors: {
  custom: {
    50: '#637252',
    500: '#273c12',
    950: '#000000',
  },
}
SCSS
$custom: #273c12;
$custom-light: #637252;
$custom-dark: #000000;
JSON
{
  "hex": "#273c12",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 18
  },
  "hsl": {
    "h": 90,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3277,
    "c": 0.07074,
    "h": 131.7
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#273C12
secondary
#553575
accent
#4BDD94
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #273C12

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

Preview Lab → · Contrast checker → · Palette generator →

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