#273A12#273A12

#273A12 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.067 H 130.7°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#273A12
RGBrgb(39, 58, 18)
HSLhsl(89, 53%, 15%)
HSVhsv(89, 69%, 23%)
CMYKcmyk(32.8%, 0%, 69%, 77.3%)
CIE-LABlab(21.95, -15.69, 21.95)
CIE-LCHlch(21.95, 26.98, 125.56°)
OKLaboklab(32.18% -0.044 0.0511)
OKLCHoklch(32.18% 0.067 130.7)
XYZxyz(2.4589, 3.5011, 1.1184)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A12 #25123A
analogous
#3A3912 #273A12 #133A12
triadic
#273A12 #12273A #3A1227
tetradic
#273A12 #123A39 #25123A #3A1213
square
#273A12 #123A39 #25123A #3A1213
split-complementary
#273A12 #12133A #39123A
monochromatic
#101707 #101707 #273A12 #466920 #66972F

Accessibility & contrast

On white

12.35
#273A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#273A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A12
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A12#FFFFFF#000000##FFFFFF
##273A121.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D350E
Deuteranopia (green-blind)
#3A3415
Tritanopia (blue-blind)
#283731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #273a12;
/* rgb */ color: rgb(39, 58, 18);
/* oklch */ color: oklch(32.2% 0.067 130.7);
Tailwind
colors: {
  custom: {
    50: '#637051',
    500: '#273a12',
    950: '#000000',
  },
}
SCSS
$custom: #273a12;
$custom-light: #637051;
$custom-dark: #000000;
JSON
{
  "hex": "#273a12",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 18
  },
  "hsl": {
    "h": 88.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32178,
    "c": 0.06742,
    "h": 130.7
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#273A12
secondary
#523573
accent
#4CDC90
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050702
muted
#797A78

Preview Lab

Preview with #273A12

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

Preview Lab → · Contrast checker → · Palette generator →

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