#273308#273308

#273308 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 30.0% C 0.066 H 124.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#273308
RGBrgb(39, 51, 8)
HSLhsl(77, 73%, 12%)
HSVhsv(77, 84%, 20%)
CMYKcmyk(23.5%, 0%, 84.3%, 80%)
CIE-LABlab(19.29, -12.62, 23.76)
CIE-LCHlch(19.29, 26.90, 117.98°)
OKLaboklab(30% -0.0366 0.0544)
OKLCHoklch(30% 0.066 124)
XYZxyz(2.0644, 2.8165, 0.6646)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273308 #140833
analogous
#332A08 #273308 #123308
triadic
#273308 #082733 #330827
tetradic
#273308 #08332A #140833 #330812
square
#273308 #08332A #140833 #330812
split-complementary
#273308 #081233 #2A0833
monochromatic
#141A04 #141A04 #273308 #4F6810 #789D19

Accessibility & contrast

On white

13.43
#273308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#273308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273308
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273308#FFFFFF#000000##FFFFFF
##2733081.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F03
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#29302B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #273308;
/* rgb */ color: rgb(39, 51, 8);
/* oklch */ color: oklch(30.0% 0.066 124.0);
Tailwind
colors: {
  custom: {
    50: '#636a4b',
    500: '#273308',
    950: '#000000',
  },
}
SCSS
$custom: #273308;
$custom-light: #636a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#273308",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 76.744,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29995,
    "c": 0.06558,
    "h": 124
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#273308
secondary
#3A2572
accent
#38F06B
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #273308

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

Preview Lab → · Contrast checker → · Palette generator →

#273308 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva