#273A07#273A07

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

Color values

HEX#273A07
RGBrgb(39, 58, 7)
HSLhsl(82, 78%, 13%)
HSVhsv(82, 88%, 23%)
CMYKcmyk(32.8%, 0%, 87.9%, 77.3%)
CIE-LABlab(21.85, -16.68, 27.00)
CIE-LCHlch(21.85, 31.74, 121.71°)
OKLaboklab(32.06% -0.0478 0.0604)
OKLCHoklch(32.06% 0.077 128.4)
XYZxyz(2.3881, 3.4727, 0.7455)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A07 #1A073A
analogous
#3A3307 #273A07 #0D3A07
triadic
#273A07 #07273A #3A0727
tetradic
#273A07 #073A33 #1A073A #3A070D
square
#273A07 #073A33 #1A073A #3A070D
split-complementary
#273A07 #070D3A #33073A
monochromatic
#121B03 #121B03 #273A07 #4C710E #70A714

Accessibility & contrast

On white

12.39
#273A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#273A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A07
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A07#FFFFFF#000000##FFFFFF
##273A071.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#293730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #273a07;
/* rgb */ color: rgb(39, 58, 7);
/* oklch */ color: oklch(32.1% 0.077 128.4);
Tailwind
colors: {
  custom: {
    50: '#63704b',
    500: '#273a07',
    950: '#000000',
  },
}
SCSS
$custom: #273a07;
$custom-light: #63704b;
$custom-dark: #000000;
JSON
{
  "hex": "#273a07",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 82.353,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32062,
    "c": 0.07705,
    "h": 128.4
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#273A07
secondary
#432379
accent
#33F57B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273A07

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

Preview Lab → · Contrast checker → · Palette generator →

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