#273F0C#273F0C

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

Color values

HEX#273F0C
RGBrgb(39, 63, 12)
HSLhsl(88, 68%, 15%)
HSVhsv(88, 81%, 25%)
CMYKcmyk(38.1%, 0%, 81%, 75.3%)
CIE-LABlab(23.71, -18.99, 26.85)
CIE-LCHlch(23.71, 32.89, 125.26°)
OKLaboklab(33.6% -0.0536 0.0605)
OKLCHoklch(33.6% 0.081 131.5)
XYZxyz(2.6805, 4.0128, 0.9811)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F0C #240C3F
analogous
#3F3E0C #273F0C #0E3F0C
triadic
#273F0C #0C273F #3F0C27
tetradic
#273F0C #0C3F3E #240C3F #3F0C0E
square
#273F0C #0C3F3E #240C3F #3F0C0E
split-complementary
#273F0C #0C0E3F #3E0C3F
monochromatic
#101A05 #101A05 #273F0C #477216 #67A620

Accessibility & contrast

On white

11.65
#273F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273F0C
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F0C#FFFFFF#000000##FFFFFF
##273F0C1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273f0c;
/* rgb */ color: rgb(39, 63, 12);
/* oklch */ color: oklch(33.6% 0.081 131.5);
Tailwind
colors: {
  custom: {
    50: '#64744e',
    500: '#273f0c',
    950: '#000000',
  },
}
SCSS
$custom: #273f0c;
$custom-light: #64744e;
$custom-dark: #000000;
JSON
{
  "hex": "#273f0c",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 88.235,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33596,
    "c": 0.08084,
    "h": 131.5
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#273F0C
secondary
#512C7B
accent
#3DEB8F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #273F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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