#273906#273906

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

Color values

HEX#273906
RGBrgb(39, 57, 6)
HSLhsl(81, 81%, 12%)
HSVhsv(81, 89%, 22%)
CMYKcmyk(31.6%, 0%, 89.5%, 77.6%)
CIE-LABlab(21.47, -16.21, 27.01)
CIE-LCHlch(21.47, 31.50, 120.97°)
OKLaboklab(31.76% -0.0467 0.0605)
OKLCHoklch(31.76% 0.076 127.7)
XYZxyz(2.3327, 3.3707, 0.7000)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273906 #180639
analogous
#393106 #273906 #0E3906
triadic
#273906 #062739 #390627
tetradic
#273906 #063931 #180639 #39060E
square
#273906 #063931 #180639 #39060E
split-complementary
#273906 #060E39 #310639
monochromatic
#131C03 #131C03 #273906 #4D700C #73A812

Accessibility & contrast

On white

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

On black

1.67
#273906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##273906#FFFFFF#000000##FFFFFF
##2739061.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#29362F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #273906;
/* rgb */ color: rgb(39, 57, 6);
/* oklch */ color: oklch(31.8% 0.076 127.7);
Tailwind
colors: {
  custom: {
    50: '#636f4b',
    500: '#273906',
    950: '#000000',
  },
}
SCSS
$custom: #273906;
$custom-light: #636f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#273906",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 81.176,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31755,
    "c": 0.07637,
    "h": 127.7
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#273906
secondary
#402279
accent
#30F777
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273906

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

Preview Lab → · Contrast checker → · Palette generator →

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