#273F04#273F04

#273F04 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.5% C 0.087 H 130.3°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#273F04
RGBrgb(39, 63, 4)
HSLhsl(84, 88%, 13%)
HSVhsv(84, 94%, 25%)
CMYKcmyk(38.1%, 0%, 93.7%, 75.3%)
CIE-LABlab(23.65, -19.58, 30.10)
CIE-LCHlch(23.65, 35.91, 123.04°)
OKLaboklab(33.53% -0.056 0.0661)
OKLCHoklch(33.53% 0.087 130.3)
XYZxyz(2.6361, 3.9950, 0.7471)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F04 #1C043F
analogous
#3F3904 #273F04 #093F04
triadic
#273F04 #04273F #3F0427
tetradic
#273F04 #043F39 #1C043F #3F0409
square
#273F04 #043F39 #1C043F #3F0409
split-complementary
#273F04 #04093F #39043F
monochromatic
#121D02 #121D02 #273F04 #4B7908 #6EB20B

Accessibility & contrast

On white

11.67
#273F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273F04
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F04#FFFFFF#000000##FFFFFF
##273F041.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3F380A
Tritanopia (blue-blind)
#283C34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273f04;
/* rgb */ color: rgb(39, 63, 4);
/* oklch */ color: oklch(33.5% 0.087 130.3);
Tailwind
colors: {
  custom: {
    50: '#64744a',
    500: '#273f04',
    950: '#000000',
  },
}
SCSS
$custom: #273f04;
$custom-light: #64744a;
$custom-dark: #000000;
JSON
{
  "hex": "#273f04",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 84.407,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33529,
    "c": 0.08665,
    "h": 130.3
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#273F04
secondary
#461E80
accent
#2AFE80
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #273F04

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

Preview Lab → · Contrast checker → · Palette generator →

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