#273908#273908

#273908 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.8% C 0.075 H 128.0°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#273908
RGBrgb(39, 57, 8)
HSLhsl(82, 75%, 13%)
HSVhsv(82, 86%, 22%)
CMYKcmyk(31.6%, 0%, 86%, 77.6%)
CIE-LABlab(21.49, -16.05, 26.21)
CIE-LCHlch(21.49, 30.73, 121.49°)
OKLaboklab(31.77% -0.046 0.0589)
OKLCHoklch(31.77% 0.075 128)
XYZxyz(2.3437, 3.3751, 0.7577)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273908 #1A0839
analogous
#393208 #273908 #0E3908
triadic
#273908 #082739 #390827
tetradic
#273908 #083932 #1A0839 #39080E
square
#273908 #083932 #1A0839 #39080E
split-complementary
#273908 #080E39 #320839
monochromatic
#121B04 #121B04 #273908 #4C6F10 #70A417

Accessibility & contrast

On white

12.54
#273908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#273908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273908
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273908#FFFFFF#000000##FFFFFF
##2739081.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3402
Deuteranopia (green-blind)
#3A330D
Tritanopia (blue-blind)
#293630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #273908;
/* rgb */ color: rgb(39, 57, 8);
/* oklch */ color: oklch(31.8% 0.075 128.0);
Tailwind
colors: {
  custom: {
    50: '#636f4c',
    500: '#273908',
    950: '#000000',
  },
}
SCSS
$custom: #273908;
$custom-light: #636f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#273908",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 82.041,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31774,
    "c": 0.07475,
    "h": 128
  },
  "luminance": 0.03375
}

Semantic roles & 50–950 ramp

primary
#273908
secondary
#432578
accent
#36F27B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273908

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

Preview Lab → · Contrast checker → · Palette generator →

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