#273A08#273A08

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

Color values

HEX#273A08
RGBrgb(39, 58, 8)
HSLhsl(83, 76%, 13%)
HSVhsv(83, 86%, 23%)
CMYKcmyk(32.8%, 0%, 86.2%, 77.3%)
CIE-LABlab(21.85, -16.60, 26.60)
CIE-LCHlch(21.85, 31.36, 121.97°)
OKLaboklab(32.07% -0.0475 0.0596)
OKLCHoklch(32.07% 0.076 128.5)
XYZxyz(2.3936, 3.4749, 0.7743)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A08 #1B083A
analogous
#3A3408 #273A08 #0E3A08
triadic
#273A08 #08273A #3A0827
tetradic
#273A08 #083A34 #1B083A #3A080E
square
#273A08 #083A34 #1B083A #3A080E
split-complementary
#273A08 #080E3A #34083A
monochromatic
#121B04 #121B04 #273A08 #4B700F #6FA617

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##273A08#FFFFFF#000000##FFFFFF
##273A081.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273a08;
/* rgb */ color: rgb(39, 58, 8);
/* oklch */ color: oklch(32.1% 0.076 128.5);
Tailwind
colors: {
  custom: {
    50: '#63704c',
    500: '#273a08',
    950: '#000000',
  },
}
SCSS
$custom: #273a08;
$custom-light: #63704c;
$custom-dark: #000000;
JSON
{
  "hex": "#273a08",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 82.8,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32071,
    "c": 0.07626,
    "h": 128.5
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#273A08
secondary
#452579
accent
#35F27D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273A08

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

Preview Lab → · Contrast checker → · Palette generator →

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