#274C0F#274C0F

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

Color values

HEX#274C0F
RGBrgb(39, 76, 15)
HSLhsl(96, 67%, 18%)
HSVhsv(96, 80%, 30%)
CMYKcmyk(48.7%, 0%, 80.3%, 70.2%)
CIE-LABlab(28.47, -25.22, 30.33)
CIE-LCHlch(28.47, 39.45, 129.75°)
OKLaboklab(37.49% -0.0703 0.0683)
OKLCHoklch(37.49% 0.098 135.8)
XYZxyz(3.5073, 5.6345, 1.3546)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C0F #340F4C
analogous
#454C0F #274C0F #0F4C15
triadic
#274C0F #0F274C #4C0F27
tetradic
#274C0F #0F454C #340F4C #4C150F
square
#274C0F #0F454C #340F4C #4C150F
split-complementary
#274C0F #150F4C #4C0F45
monochromatic
#0D1A05 #0D1A05 #274C0F #417F19 #5BB223

Accessibility & contrast

On white

9.87
#274C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274C0F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C0F#FFFFFF#000000##FFFFFF
##274C0F1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274c0f;
/* rgb */ color: rgb(39, 76, 15);
/* oklch */ color: oklch(37.5% 0.098 135.8);
Tailwind
colors: {
  custom: {
    50: '#657e52',
    500: '#274c0f',
    950: '#000000',
  },
}
SCSS
$custom: #274c0f;
$custom-light: #657e52;
$custom-dark: #000000;
JSON
{
  "hex": "#274c0f",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 96.393,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37494,
    "c": 0.09798,
    "h": 135.8
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#274C0F
secondary
#653186
accent
#3EEAA6
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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