#273A05#273A05

#273A05 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.0% C 0.079 H 128.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#273A05
RGBrgb(39, 58, 5)
HSLhsl(82, 84%, 12%)
HSVhsv(82, 91%, 23%)
CMYKcmyk(32.8%, 0%, 91.4%, 77.3%)
CIE-LABlab(21.83, -16.84, 27.80)
CIE-LCHlch(21.83, 32.50, 121.20°)
OKLaboklab(32.04% -0.0485 0.0619)
OKLCHoklch(32.04% 0.079 128.1)
XYZxyz(2.3772, 3.4683, 0.6878)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A05 #18053A
analogous
#3A3205 #273A05 #0D3A05
triadic
#273A05 #05273A #3A0527
tetradic
#273A05 #053A32 #18053A #3A050D
square
#273A05 #053A32 #18053A #3A050D
split-complementary
#273A05 #050D3A #32053A
monochromatic
#131C02 #131C02 #273A05 #4D720A #73AB0F

Accessibility & contrast

On white

12.40
#273A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273A05
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A05#FFFFFF#000000##FFFFFF
##273A051.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273a05;
/* rgb */ color: rgb(39, 58, 5);
/* oklch */ color: oklch(32.0% 0.079 128.1);
Tailwind
colors: {
  custom: {
    50: '#63704a',
    500: '#273a05',
    950: '#000000',
  },
}
SCSS
$custom: #273a05;
$custom-light: #63704a;
$custom-dark: #000000;
JSON
{
  "hex": "#273a05",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 81.509,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32044,
    "c": 0.07866,
    "h": 128.1
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#273A05
secondary
#40207B
accent
#2DFA77
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273A05

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

Preview Lab → · Contrast checker → · Palette generator →

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