#273A0F#273A0F

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

Color values

HEX#273A0F
RGBrgb(39, 58, 15)
HSLhsl(87, 59%, 14%)
HSVhsv(87, 74%, 23%)
CMYKcmyk(32.8%, 0%, 74.1%, 77.3%)
CIE-LABlab(21.92, -16.01, 23.52)
CIE-LCHlch(21.92, 28.45, 124.24°)
OKLaboklab(32.14% -0.0452 0.054)
OKLCHoklch(32.14% 0.07 129.9)
XYZxyz(2.4360, 3.4919, 0.9975)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A0F #220F3A
analogous
#3A380F #273A0F #123A0F
triadic
#273A0F #0F273A #3A0F27
tetradic
#273A0F #0F3A38 #220F3A #3A0F12
square
#273A0F #0F3A38 #220F3A #3A0F12
split-complementary
#273A0F #0F123A #380F3A
monochromatic
#101806 #101806 #273A0F #486B1C #689B28

Accessibility & contrast

On white

12.36
#273A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273A0F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A0F#FFFFFF#000000##FFFFFF
##273A0F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273a0f;
/* rgb */ color: rgb(39, 58, 15);
/* oklch */ color: oklch(32.1% 0.070 129.9);
Tailwind
colors: {
  custom: {
    50: '#63704f',
    500: '#273a0f',
    950: '#000000',
  },
}
SCSS
$custom: #273a0f;
$custom-light: #63704f;
$custom-dark: #000000;
JSON
{
  "hex": "#273a0f",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 15
  },
  "hsl": {
    "h": 86.512,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32141,
    "c": 0.07041,
    "h": 129.9
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#273A0F
secondary
#4E3074
accent
#46E28B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #273A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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