#273905#273905

#273905 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.7% C 0.077 H 127.5°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#273905
RGBrgb(39, 57, 5)
HSLhsl(81, 84%, 12%)
HSVhsv(81, 91%, 22%)
CMYKcmyk(31.6%, 0%, 91.2%, 77.6%)
CIE-LABlab(21.46, -16.29, 27.41)
CIE-LCHlch(21.46, 31.88, 120.73°)
OKLaboklab(31.75% -0.047 0.0612)
OKLCHoklch(31.75% 0.077 127.5)
XYZxyz(2.3272, 3.3685, 0.6711)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273905 #170539
analogous
#393105 #273905 #0D3905
triadic
#273905 #052739 #390527
tetradic
#273905 #053931 #170539 #39050D
square
#273905 #053931 #170539 #39050D
split-complementary
#273905 #050D39 #310539
monochromatic
#131C02 #131C02 #273905 #4D710A #74AA0F

Accessibility & contrast

On white

12.55
#273905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273905
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273905#FFFFFF#000000##FFFFFF
##2739051.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273905;
/* rgb */ color: rgb(39, 57, 5);
/* oklch */ color: oklch(31.7% 0.077 127.5);
Tailwind
colors: {
  custom: {
    50: '#636f4a',
    500: '#273905',
    950: '#000000',
  },
}
SCSS
$custom: #273905;
$custom-light: #636f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#273905",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 80.769,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31746,
    "c": 0.0772,
    "h": 127.5
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#273905
secondary
#3F207A
accent
#2EFA74
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273905

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

Preview Lab → · Contrast checker → · Palette generator →

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