#273B04#273B04

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

Color values

HEX#273B04
RGBrgb(39, 59, 4)
HSLhsl(82, 87%, 12%)
HSVhsv(82, 93%, 23%)
CMYKcmyk(33.9%, 0%, 93.2%, 76.9%)
CIE-LABlab(22.19, -17.46, 28.59)
CIE-LCHlch(22.19, 33.50, 121.41°)
OKLaboklab(32.33% -0.0503 0.0634)
OKLCHoklch(32.33% 0.081 128.4)
XYZxyz(2.4226, 3.5680, 0.6759)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B04 #18043B
analogous
#3B3404 #273B04 #0C3B04
triadic
#273B04 #04273B #3B0427
tetradic
#273B04 #043B34 #18043B #3B040C
square
#273B04 #043B34 #18043B #3B040C
split-complementary
#273B04 #040C3B #34043B
monochromatic
#131D02 #131D02 #273B04 #4D7408 #73AE0C

Accessibility & contrast

On white

12.25
#273B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273B04
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B04#FFFFFF#000000##FFFFFF
##273B041.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273b04;
/* rgb */ color: rgb(39, 59, 4);
/* oklch */ color: oklch(32.3% 0.081 128.4);
Tailwind
colors: {
  custom: {
    50: '#64714a',
    500: '#273b04',
    950: '#000000',
  },
}
SCSS
$custom: #273b04;
$custom-light: #64714a;
$custom-dark: #000000;
JSON
{
  "hex": "#273b04",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 81.818,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32334,
    "c": 0.08093,
    "h": 128.4
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#273B04
secondary
#401E7D
accent
#2AFD77
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #273B04

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

Preview Lab → · Contrast checker → · Palette generator →

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