#273F0B#273F0B

#273F0B is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.082 H 131.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#273F0B
RGBrgb(39, 63, 11)
HSLhsl(88, 70%, 15%)
HSVhsv(88, 83%, 25%)
CMYKcmyk(38.1%, 0%, 82.5%, 75.3%)
CIE-LABlab(23.71, -19.06, 27.29)
CIE-LCHlch(23.71, 33.29, 124.94°)
OKLaboklab(33.59% -0.0539 0.0612)
OKLCHoklch(33.59% 0.082 131.4)
XYZxyz(2.6746, 4.0104, 0.9497)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F0B #230B3F
analogous
#3F3D0B #273F0B #0D3F0B
triadic
#273F0B #0B273F #3F0B27
tetradic
#273F0B #0B3F3D #230B3F #3F0B0D
square
#273F0B #0B3F3D #230B3F #3F0B0D
split-complementary
#273F0B #0B0D3F #3D0B3F
monochromatic
#101A05 #101A05 #273F0B #477314 #68A71D

Accessibility & contrast

On white

11.65
#273F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#273F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F0B
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F0B#FFFFFF#000000##FFFFFF
##273F0B1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A03
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#283C35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273f0b;
/* rgb */ color: rgb(39, 63, 11);
/* oklch */ color: oklch(33.6% 0.082 131.4);
Tailwind
colors: {
  custom: {
    50: '#64744e',
    500: '#273f0b',
    950: '#000000',
  },
}
SCSS
$custom: #273f0b;
$custom-light: #64744e;
$custom-dark: #000000;
JSON
{
  "hex": "#273f0b",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 87.692,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33587,
    "c": 0.08159,
    "h": 131.4
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#273F0B
secondary
#502A7C
accent
#3BED8D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #273F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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