#273B0F#273B0F

#273B0F is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.072 H 130.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#273B0F
RGBrgb(39, 59, 15)
HSLhsl(87, 59%, 15%)
HSVhsv(87, 75%, 23%)
CMYKcmyk(33.9%, 0%, 74.6%, 76.9%)
CIE-LABlab(22.28, -16.56, 23.91)
CIE-LCHlch(22.28, 29.09, 124.70°)
OKLaboklab(32.44% -0.0467 0.0548)
OKLCHoklch(32.44% 0.072 130.4)
XYZxyz(2.4869, 3.5937, 1.0145)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B0F #230F3B
analogous
#3B390F #273B0F #113B0F
triadic
#273B0F #0F273B #3B0F27
tetradic
#273B0F #0F3B39 #230F3B #3B0F11
square
#273B0F #0F3B39 #230F3B #3B0F11
split-complementary
#273B0F #0F113B #390F3B
monochromatic
#101806 #101806 #273B0F #476C1B #689D28

Accessibility & contrast

On white

12.22
#273B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#273B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B0F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B0F#FFFFFF#000000##FFFFFF
##273B0F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3609
Deuteranopia (green-blind)
#3B3512
Tritanopia (blue-blind)
#283832
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #273b0f;
/* rgb */ color: rgb(39, 59, 15);
/* oklch */ color: oklch(32.4% 0.072 130.4);
Tailwind
colors: {
  custom: {
    50: '#637150',
    500: '#273b0f',
    950: '#000000',
  },
}
SCSS
$custom: #273b0f;
$custom-light: #637150;
$custom-dark: #000000;
JSON
{
  "hex": "#273b0f",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 15
  },
  "hsl": {
    "h": 87.273,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32437,
    "c": 0.07202,
    "h": 130.4
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#273B0F
secondary
#503075
accent
#45E38D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #273B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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