#273B03#273B03

#273B03 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.3% C 0.082 H 128.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#273B03
RGBrgb(39, 59, 3)
HSLhsl(81, 90%, 12%)
HSVhsv(81, 95%, 23%)
CMYKcmyk(33.9%, 0%, 94.9%, 76.9%)
CIE-LABlab(22.18, -17.54, 28.99)
CIE-LCHlch(22.18, 33.88, 121.17°)
OKLaboklab(32.32% -0.0506 0.0642)
OKLCHoklch(32.32% 0.082 128.3)
XYZxyz(2.4171, 3.5658, 0.6470)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B03 #17033B
analogous
#3B3303 #273B03 #0B3B03
triadic
#273B03 #03273B #3B0327
tetradic
#273B03 #033B33 #17033B #3B030B
square
#273B03 #033B33 #17033B #3B030B
split-complementary
#273B03 #030B3B #33033B
monochromatic
#131D01 #131D01 #273B03 #4D7506 #74AF09

Accessibility & contrast

On white

12.26
#273B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#273B03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B03
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B03#FFFFFF#000000##FFFFFF
##273B031.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3C3508
Tritanopia (blue-blind)
#293831
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #273b03;
/* rgb */ color: rgb(39, 59, 3);
/* oklch */ color: oklch(32.3% 0.082 128.3);
Tailwind
colors: {
  custom: {
    50: '#647149',
    500: '#273b03',
    950: '#000000',
  },
}
SCSS
$custom: #273b03;
$custom-light: #647149;
$custom-dark: #000000;
JSON
{
  "hex": "#273b03",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 3
  },
  "hsl": {
    "h": 81.429,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32325,
    "c": 0.08173,
    "h": 128.3
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#273B03
secondary
#3F1C7E
accent
#29FF75
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273B03

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

Preview Lab → · Contrast checker → · Palette generator →

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