#273D12#273D12

#273D12 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.072 H 132.1°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#273D12
RGBrgb(39, 61, 18)
HSLhsl(91, 54%, 15%)
HSVhsv(91, 70%, 24%)
CMYKcmyk(36.1%, 0%, 70.5%, 76.1%)
CIE-LABlab(23.04, -17.35, 23.17)
CIE-LCHlch(23.04, 28.95, 126.81°)
OKLaboklab(33.07% -0.0485 0.0537)
OKLCHoklch(33.07% 0.072 132.1)
XYZxyz(2.6146, 3.8124, 1.1703)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D12 #28123D
analogous
#3C3D12 #273D12 #123D13
triadic
#273D12 #12273D #3D1227
tetradic
#273D12 #123C3D #28123D #3D1312
square
#273D12 #123C3D #28123D #3D1312
split-complementary
#273D12 #13123D #3D123C
monochromatic
#0F1807 #0F1807 #273D12 #456C20 #639C2E

Accessibility & contrast

On white

11.92
#273D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#273D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D12
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D12#FFFFFF#000000##FFFFFF
##273D121.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380D
Deuteranopia (green-blind)
#3D3615
Tritanopia (blue-blind)
#283A34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #273d12;
/* rgb */ color: rgb(39, 61, 18);
/* oklch */ color: oklch(33.1% 0.072 132.1);
Tailwind
colors: {
  custom: {
    50: '#637252',
    500: '#273d12',
    950: '#000000',
  },
}
SCSS
$custom: #273d12;
$custom-light: #637252;
$custom-dark: #000000;
JSON
{
  "hex": "#273d12",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 90.698,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33067,
    "c": 0.07239,
    "h": 132.1
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#273D12
secondary
#563576
accent
#4ADE96
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #273D12

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

Preview Lab → · Contrast checker → · Palette generator →

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