#274C12#274C12

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

Color values

HEX#274C12
RGBrgb(39, 76, 18)
HSLhsl(98, 62%, 18%)
HSVhsv(98, 76%, 30%)
CMYKcmyk(48.7%, 0%, 76.3%, 70.2%)
CIE-LABlab(28.50, -24.97, 29.03)
CIE-LCHlch(28.50, 38.29, 130.69°)
OKLaboklab(37.52% -0.0693 0.0661)
OKLCHoklch(37.52% 0.096 136.4)
XYZxyz(3.5302, 5.6437, 1.4755)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C12 #37124C
analogous
#444C12 #274C12 #124C1A
triadic
#274C12 #12274C #4C1227
tetradic
#274C12 #12444C #37124C #4C1A12
square
#274C12 #12444C #37124C #4C1A12
split-complementary
#274C12 #1A124C #4C1244
monochromatic
#0D1906 #0E1B06 #274C12 #407D1E #5AAF29

Accessibility & contrast

On white

9.86
#274C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274C12
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C12#FFFFFF#000000##FFFFFF
##274C121.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4509
Deuteranopia (green-blind)
#4A4217
Tritanopia (blue-blind)
#254940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #274c12;
/* rgb */ color: rgb(39, 76, 18);
/* oklch */ color: oklch(37.5% 0.096 136.4);
Tailwind
colors: {
  custom: {
    50: '#657e54',
    500: '#274c12',
    950: '#000000',
  },
}
SCSS
$custom: #274c12;
$custom-light: #657e54;
$custom-dark: #000000;
JSON
{
  "hex": "#274c12",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 98.276,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37521,
    "c": 0.09575,
    "h": 136.4
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#274C12
secondary
#683585
accent
#43E5AA
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274C12

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

Preview Lab → · Contrast checker → · Palette generator →

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