#273907#273907

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

Color values

HEX#273907
RGBrgb(39, 57, 7)
HSLhsl(82, 78%, 13%)
HSVhsv(82, 88%, 22%)
CMYKcmyk(31.6%, 0%, 87.7%, 77.6%)
CIE-LABlab(21.48, -16.13, 26.61)
CIE-LCHlch(21.48, 31.12, 121.23°)
OKLaboklab(31.77% -0.0463 0.0597)
OKLCHoklch(31.77% 0.076 127.8)
XYZxyz(2.3382, 3.3729, 0.7288)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273907 #190739
analogous
#393207 #273907 #0E3907
triadic
#273907 #072739 #390727
tetradic
#273907 #073932 #190739 #39070E
square
#273907 #073932 #190739 #39070E
split-complementary
#273907 #070E39 #320739
monochromatic
#131B03 #131B03 #273907 #4C700E #72A614

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##273907#FFFFFF#000000##FFFFFF
##2739071.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)
#3C3401
Deuteranopia (green-blind)
#3A330C
Tritanopia (blue-blind)
#293630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #273907;
/* rgb */ color: rgb(39, 57, 7);
/* oklch */ color: oklch(31.8% 0.076 127.8);
Tailwind
colors: {
  custom: {
    50: '#636f4b',
    500: '#273907',
    950: '#000000',
  },
}
SCSS
$custom: #273907;
$custom-light: #636f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#273907",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 7
  },
  "hsl": {
    "h": 81.6,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31765,
    "c": 0.07555,
    "h": 127.8
  },
  "luminance": 0.03373
}

Semantic roles & 50–950 ramp

primary
#273907
secondary
#422379
accent
#33F579
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273907

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

Preview Lab → · Contrast checker → · Palette generator →

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