#273F07#273F07

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

Color values

HEX#273F07
RGBrgb(39, 63, 7)
HSLhsl(86, 80%, 14%)
HSVhsv(86, 89%, 25%)
CMYKcmyk(38.1%, 0%, 88.9%, 75.3%)
CIE-LABlab(23.68, -19.36, 28.90)
CIE-LCHlch(23.68, 34.78, 123.82°)
OKLaboklab(33.55% -0.0551 0.064)
OKLCHoklch(33.55% 0.084 130.7)
XYZxyz(2.6525, 4.0016, 0.8336)
Luminance0.0400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F07 #1F073F
analogous
#3F3B07 #273F07 #0B3F07
triadic
#273F07 #07273F #3F0727
tetradic
#273F07 #073F3B #1F073F #3F070B
square
#273F07 #073F3B #1F073F #3F070B
split-complementary
#273F07 #070B3F #3B073F
monochromatic
#111C03 #111C03 #273F07 #49760D #6BAD13

Accessibility & contrast

On white

11.66
#273F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273F07
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F07#FFFFFF#000000##FFFFFF
##273F071.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273f07;
/* rgb */ color: rgb(39, 63, 7);
/* oklch */ color: oklch(33.6% 0.084 130.7);
Tailwind
colors: {
  custom: {
    50: '#64744c',
    500: '#273f07',
    950: '#000000',
  },
}
SCSS
$custom: #273f07;
$custom-light: #64744c;
$custom-dark: #000000;
JSON
{
  "hex": "#273f07",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 7
  },
  "hsl": {
    "h": 85.714,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33554,
    "c": 0.08445,
    "h": 130.7
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#273F07
secondary
#4A247E
accent
#31F686
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #273F07

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

Preview Lab → · Contrast checker → · Palette generator →

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