#273312#273312

#273312 is a dark, muted yellow-green. Relative luminance 0.028; OKLCH L 30.1% C 0.056 H 126.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#273312
RGBrgb(39, 51, 18)
HSLhsl(82, 48%, 14%)
HSVhsv(82, 65%, 20%)
CMYKcmyk(23.5%, 0%, 64.7%, 80%)
CIE-LABlab(19.40, -11.64, 19.04)
CIE-LCHlch(19.40, 22.31, 121.44°)
OKLaboklab(30.12% -0.0328 0.0448)
OKLCHoklch(30.12% 0.056 126.2)
XYZxyz(2.1297, 2.8426, 1.0086)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273312 #1E1233
analogous
#332E12 #273312 #163312
triadic
#273312 #122733 #331227
tetradic
#273312 #12332E #1E1233 #331216
square
#273312 #12332E #1E1233 #331216
split-complementary
#273312 #121633 #2E1233
monochromatic
#111708 #111708 #273312 #4A6022 #6C8D32

Accessibility & contrast

On white

13.39
#273312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#273312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273312
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273312#FFFFFF#000000##FFFFFF
##2733121.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0F
Deuteranopia (green-blind)
#342F14
Tritanopia (blue-blind)
#29302C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #273312;
/* rgb */ color: rgb(39, 51, 18);
/* oklch */ color: oklch(30.1% 0.056 126.2);
Tailwind
colors: {
  custom: {
    50: '#626a51',
    500: '#273312',
    950: '#000000',
  },
}
SCSS
$custom: #273312;
$custom-light: #626a51;
$custom-dark: #000000;
JSON
{
  "hex": "#273312",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 18
  },
  "hsl": {
    "h": 81.818,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30118,
    "c": 0.05552,
    "h": 126.2
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#273312
secondary
#49356B
accent
#50D781
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050602
muted
#797A78

Preview Lab

Preview with #273312

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

Preview Lab → · Contrast checker → · Palette generator →

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