#273F0F#273F0F

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

Color values

HEX#273F0F
RGBrgb(39, 63, 15)
HSLhsl(90, 62%, 15%)
HSVhsv(90, 76%, 25%)
CMYKcmyk(38.1%, 0%, 76.2%, 75.3%)
CIE-LABlab(23.74, -18.72, 25.47)
CIE-LCHlch(23.74, 31.61, 126.32°)
OKLaboklab(33.63% -0.0526 0.0581)
OKLCHoklch(33.63% 0.078 132.2)
XYZxyz(2.7004, 4.0207, 1.0856)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F0F #270F3F
analogous
#3F3F0F #273F0F #0F3F0F
triadic
#273F0F #0F273F #3F0F27
tetradic
#273F0F #0F3F3F #270F3F #3F0F0F
square
#273F0F #0F3F3F #270F3F #3F0F0F
split-complementary
#273F0F #0F0F3F #3F0F3F
monochromatic
#0F1906 #0F1906 #273F0F #46701B #64A227

Accessibility & contrast

On white

11.64
#273F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273F0F
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F0F#FFFFFF#000000##FFFFFF
##273F0F1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273f0f;
/* rgb */ color: rgb(39, 63, 15);
/* oklch */ color: oklch(33.6% 0.078 132.2);
Tailwind
colors: {
  custom: {
    50: '#637450',
    500: '#273f0f',
    950: '#000000',
  },
}
SCSS
$custom: #273f0f;
$custom-light: #637450;
$custom-dark: #000000;
JSON
{
  "hex": "#273f0f",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 15
  },
  "hsl": {
    "h": 90,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33625,
    "c": 0.07838,
    "h": 132.2
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#273F0F
secondary
#553079
accent
#43E594
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #273F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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