#273A0C#273A0C

#273A0C is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.073 H 129.3°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#273A0C
RGBrgb(39, 58, 12)
HSLhsl(85, 66%, 14%)
HSVhsv(85, 79%, 23%)
CMYKcmyk(32.8%, 0%, 79.3%, 77.3%)
CIE-LABlab(21.89, -16.29, 24.96)
CIE-LCHlch(21.89, 29.81, 123.12°)
OKLaboklab(32.11% -0.0462 0.0566)
OKLCHoklch(32.11% 0.073 129.3)
XYZxyz(2.4161, 3.4839, 0.8929)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A0C #1F0C3A
analogous
#3A360C #273A0C #103A0C
triadic
#273A0C #0C273A #3A0C27
tetradic
#273A0C #0C3A36 #1F0C3A #3A0C10
square
#273A0C #0C3A36 #1F0C3A #3A0C10
split-complementary
#273A0C #0C103A #360C3A
monochromatic
#111905 #111905 #273A0C #496D16 #6B9F21

Accessibility & contrast

On white

12.38
#273A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273A0C
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A0C#FFFFFF#000000##FFFFFF
##273A0C1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3506
Deuteranopia (green-blind)
#3B3410
Tritanopia (blue-blind)
#283731
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #273a0c;
/* rgb */ color: rgb(39, 58, 12);
/* oklch */ color: oklch(32.1% 0.073 129.3);
Tailwind
colors: {
  custom: {
    50: '#63704e',
    500: '#273a0c',
    950: '#000000',
  },
}
SCSS
$custom: #273a0c;
$custom-light: #63704e;
$custom-dark: #000000;
JSON
{
  "hex": "#273a0c",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 84.783,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32108,
    "c": 0.07309,
    "h": 129.3
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#273A0C
secondary
#4A2C76
accent
#3FE985
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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