#273D17#273D17

#273D17 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.067 H 133.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#273D17
RGBrgb(39, 61, 23)
HSLhsl(95, 45%, 16%)
HSVhsv(95, 62%, 24%)
CMYKcmyk(36.1%, 0%, 62.3%, 76.1%)
CIE-LABlab(23.10, -16.74, 20.46)
CIE-LCHlch(23.10, 26.44, 129.30°)
OKLaboklab(33.14% -0.0464 0.0485)
OKLCHoklch(33.14% 0.067 133.8)
XYZxyz(2.6600, 3.8306, 1.4097)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D17 #2D173D
analogous
#3A3D17 #273D17 #173D1A
triadic
#273D17 #17273D #3D1727
tetradic
#273D17 #173A3D #2D173D #3D1A17
square
#273D17 #173A3D #2D173D #3D1A17
split-complementary
#273D17 #1A173D #3D173A
monochromatic
#0E1608 #0E1608 #273D17 #436928 #609639

Accessibility & contrast

On white

11.89
#273D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#273D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D17
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D17#FFFFFF#000000##FFFFFF
##273D171.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3813
Deuteranopia (green-blind)
#3C361A
Tritanopia (blue-blind)
#273B34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #273d17;
/* rgb */ color: rgb(39, 61, 23);
/* oklch */ color: oklch(33.1% 0.067 133.8);
Tailwind
colors: {
  custom: {
    50: '#637255',
    500: '#273d17',
    950: '#000000',
  },
}
SCSS
$custom: #273d17;
$custom-light: #637255;
$custom-dark: #000000;
JSON
{
  "hex": "#273d17",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 23
  },
  "hsl": {
    "h": 94.737,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33137,
    "c": 0.0671,
    "h": 133.8
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#273D17
secondary
#5C3C74
accent
#53D59E
background
#F5F6F5
surface
#EAECE8
border
#C6C7C4
text
#050803
muted
#797B78

Preview Lab

Preview with #273D17

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

Preview Lab → · Contrast checker → · Palette generator →

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