#273A06#273A06

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

Color values

HEX#273A06
RGBrgb(39, 58, 6)
HSLhsl(82, 81%, 13%)
HSVhsv(82, 90%, 23%)
CMYKcmyk(32.8%, 0%, 89.7%, 77.3%)
CIE-LABlab(21.84, -16.76, 27.40)
CIE-LCHlch(21.84, 32.12, 121.45°)
OKLaboklab(32.05% -0.0482 0.0612)
OKLCHoklch(32.05% 0.078 128.2)
XYZxyz(2.3826, 3.4705, 0.7166)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A06 #19063A
analogous
#3A3306 #273A06 #0D3A06
triadic
#273A06 #06273A #3A0627
tetradic
#273A06 #063A33 #19063A #3A060D
square
#273A06 #063A33 #19063A #3A060D
split-complementary
#273A06 #060D3A #33063A
monochromatic
#131C03 #131C03 #273A06 #4C710C #72A911

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##273A06#FFFFFF#000000##FFFFFF
##273A061.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)
#3B340B
Tritanopia (blue-blind)
#293730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #273a06;
/* rgb */ color: rgb(39, 58, 6);
/* oklch */ color: oklch(32.1% 0.078 128.2);
Tailwind
colors: {
  custom: {
    50: '#63704b',
    500: '#273a06',
    950: '#000000',
  },
}
SCSS
$custom: #273a06;
$custom-light: #63704b;
$custom-dark: #000000;
JSON
{
  "hex": "#273a06",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 81.923,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32053,
    "c": 0.07785,
    "h": 128.2
  },
  "luminance": 0.03471
}

Semantic roles & 50–950 ramp

primary
#273A06
secondary
#42227A
accent
#30F879
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273A06

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

Preview Lab → · Contrast checker → · Palette generator →

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