#273E0F#273E0F

#273E0F is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.077 H 131.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#273E0F
RGBrgb(39, 62, 15)
HSLhsl(89, 61%, 15%)
HSVhsv(89, 76%, 24%)
CMYKcmyk(37.1%, 0%, 75.8%, 75.7%)
CIE-LABlab(23.38, -18.19, 25.08)
CIE-LCHlch(23.38, 30.99, 125.95°)
OKLaboklab(33.33% -0.0512 0.0573)
OKLCHoklch(33.33% 0.077 131.8)
XYZxyz(2.6455, 3.9110, 1.0674)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E0F #260F3E
analogous
#3E3E0F #273E0F #0F3E0F
triadic
#273E0F #0F273E #3E0F27
tetradic
#273E0F #0F3E3E #260F3E #3E0F0F
square
#273E0F #0F3E3E #260F3E #3E0F0F
split-complementary
#273E0F #0F0F3E #3E0F3E
monochromatic
#0F1906 #0F1906 #273E0F #466F1B #65A127

Accessibility & contrast

On white

11.78
#273E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#273E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E0F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E0F#FFFFFF#000000##FFFFFF
##273E0F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413909
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#283B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273e0f;
/* rgb */ color: rgb(39, 62, 15);
/* oklch */ color: oklch(33.3% 0.077 131.8);
Tailwind
colors: {
  custom: {
    50: '#637350',
    500: '#273e0f',
    950: '#000000',
  },
}
SCSS
$custom: #273e0f;
$custom-light: #637350;
$custom-dark: #000000;
JSON
{
  "hex": "#273e0f",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 15
  },
  "hsl": {
    "h": 89.362,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33328,
    "c": 0.07681,
    "h": 131.8
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#273E0F
secondary
#543078
accent
#44E492
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #273E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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