#273107#273107

#273107 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.4% C 0.063 H 122.1°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#273107
RGBrgb(39, 49, 7)
HSLhsl(74, 75%, 11%)
HSVhsv(74, 86%, 19%)
CMYKcmyk(20.4%, 0%, 85.7%, 80.8%)
CIE-LABlab(18.55, -11.52, 23.31)
CIE-LCHlch(18.55, 26.00, 116.30°)
OKLaboklab(29.4% -0.0337 0.0538)
OKLCHoklch(29.4% 0.063 122.1)
XYZxyz(1.9734, 2.6433, 0.6072)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273107 #110731
analogous
#312607 #273107 #123107
triadic
#273107 #072731 #310727
tetradic
#273107 #073126 #110731 #310712
square
#273107 #073126 #110731 #310712
split-complementary
#273107 #071231 #260731
monochromatic
#151B04 #151B04 #273107 #52670F #7C9C16

Accessibility & contrast

On white

13.74
#273107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#273107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273107
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273107#FFFFFF#000000##FFFFFF
##2731071.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D02
Deuteranopia (green-blind)
#332D0A
Tritanopia (blue-blind)
#2A2E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #273107;
/* rgb */ color: rgb(39, 49, 7);
/* oklch */ color: oklch(29.4% 0.063 122.1);
Tailwind
colors: {
  custom: {
    50: '#62694a',
    500: '#273107',
    950: '#000000',
  },
}
SCSS
$custom: #273107;
$custom-light: #62694a;
$custom-dark: #000000;
JSON
{
  "hex": "#273107",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 74.286,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29396,
    "c": 0.06346,
    "h": 122.1
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#273107
secondary
#362371
accent
#36F263
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #273107

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

Preview Lab → · Contrast checker → · Palette generator →

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