#274C0D#274C0D

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

Color values

HEX#274C0D
RGBrgb(39, 76, 13)
HSLhsl(95, 71%, 17%)
HSVhsv(95, 83%, 30%)
CMYKcmyk(48.7%, 0%, 82.9%, 70.2%)
CIE-LABlab(28.46, -25.38, 31.14)
CIE-LCHlch(28.46, 40.17, 129.18°)
OKLaboklab(37.48% -0.0708 0.0696)
OKLCHoklch(37.48% 0.099 135.5)
XYZxyz(3.4937, 5.6291, 1.2831)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C0D #320D4C
analogous
#474C0D #274C0D #0D4C12
triadic
#274C0D #0D274C #4C0D27
tetradic
#274C0D #0D474C #320D4C #4C120D
square
#274C0D #0D474C #320D4C #4C120D
split-complementary
#274C0D #120D4C #4C0D47
monochromatic
#0D1A04 #0D1A04 #274C0D #428016 #5DB51F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274C0D#FFFFFF#000000##FFFFFF
##274C0D1.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)
#4F4502
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#264940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #274c0d;
/* rgb */ color: rgb(39, 76, 13);
/* oklch */ color: oklch(37.5% 0.099 135.5);
Tailwind
colors: {
  custom: {
    50: '#657e51',
    500: '#274c0d',
    950: '#000000',
  },
}
SCSS
$custom: #274c0d;
$custom-light: #657e51;
$custom-dark: #000000;
JSON
{
  "hex": "#274c0d",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 95.238,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37478,
    "c": 0.09933,
    "h": 135.5
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#274C0D
secondary
#622E87
accent
#3AEEA4
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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