#273B0C#273B0C

#273B0C is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.075 H 129.8°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#273B0C
RGBrgb(39, 59, 12)
HSLhsl(86, 66%, 14%)
HSVhsv(86, 80%, 23%)
CMYKcmyk(33.9%, 0%, 79.7%, 76.9%)
CIE-LABlab(22.25, -16.84, 25.35)
CIE-LCHlch(22.25, 30.43, 123.59°)
OKLaboklab(32.41% -0.0477 0.0574)
OKLCHoklch(32.41% 0.075 129.8)
XYZxyz(2.4670, 3.5857, 0.9099)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B0C #200C3B
analogous
#3B380C #273B0C #103B0C
triadic
#273B0C #0C273B #3B0C27
tetradic
#273B0C #0C3B38 #200C3B #3B0C10
square
#273B0C #0C3B38 #200C3B #3B0C10
split-complementary
#273B0C #0C103B #380C3B
monochromatic
#111905 #111905 #273B0C #496E16 #6AA121

Accessibility & contrast

On white

12.23
#273B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#273B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B0C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B0C#FFFFFF#000000##FFFFFF
##273B0C1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3606
Deuteranopia (green-blind)
#3B3510
Tritanopia (blue-blind)
#283832
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #273b0c;
/* rgb */ color: rgb(39, 59, 12);
/* oklch */ color: oklch(32.4% 0.075 129.8);
Tailwind
colors: {
  custom: {
    50: '#63714e',
    500: '#273b0c',
    950: '#000000',
  },
}
SCSS
$custom: #273b0c;
$custom-light: #63714e;
$custom-dark: #000000;
JSON
{
  "hex": "#273b0c",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 12
  },
  "hsl": {
    "h": 85.532,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32405,
    "c": 0.07465,
    "h": 129.8
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#273B0C
secondary
#4C2C77
accent
#3FE987
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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