#274C0C#274C0C

#274C0C is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.100 H 135.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#274C0C
RGBrgb(39, 76, 12)
HSLhsl(95, 73%, 17%)
HSVhsv(95, 84%, 30%)
CMYKcmyk(48.7%, 0%, 84.2%, 70.2%)
CIE-LABlab(28.45, -25.45, 31.52)
CIE-LCHlch(28.45, 40.51, 128.92°)
OKLaboklab(37.47% -0.0711 0.0703)
OKLCHoklch(37.47% 0.1 135.3)
XYZxyz(3.4874, 5.6266, 1.2500)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C0C #310C4C
analogous
#474C0C #274C0C #0C4C11
triadic
#274C0C #0C274C #4C0C27
tetradic
#274C0C #0C474C #310C4C #4C110C
square
#274C0C #0C474C #310C4C #4C110C
split-complementary
#274C0C #110C4C #4C0C47
monochromatic
#0E1A04 #0E1A04 #274C0C #428114 #5DB61D

Accessibility & contrast

On white

9.88
#274C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#274C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C0C
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C0C#FFFFFF#000000##FFFFFF
##274C0C1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#264940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #274c0c;
/* rgb */ color: rgb(39, 76, 12);
/* oklch */ color: oklch(37.5% 0.100 135.3);
Tailwind
colors: {
  custom: {
    50: '#657e50',
    500: '#274c0c',
    950: '#000000',
  },
}
SCSS
$custom: #274c0c;
$custom-light: #657e50;
$custom-dark: #000000;
JSON
{
  "hex": "#274c0c",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 94.688,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3747,
    "c": 0.09997,
    "h": 135.3
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#274C0C
secondary
#612C88
accent
#38EFA2
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274C0C

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

Preview Lab → · Contrast checker → · Palette generator →

#274C0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva