#274F12#274F12

#274F12 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.4% C 0.100 H 136.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#274F12
RGBrgb(39, 79, 18)
HSLhsl(99, 63%, 19%)
HSVhsv(99, 77%, 31%)
CMYKcmyk(50.6%, 0%, 77.2%, 69%)
CIE-LABlab(29.58, -26.37, 30.16)
CIE-LCHlch(29.58, 40.06, 131.17°)
OKLaboklab(38.41% -0.0731 0.0684)
OKLCHoklch(38.41% 0.1 136.9)
XYZxyz(3.7418, 6.0667, 1.5460)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F12 #3A124F
analogous
#464F12 #274F12 #124F1C
triadic
#274F12 #12274F #4F1227
tetradic
#274F12 #12464F #3A124F #4F1C12
square
#274F12 #12464F #3A124F #4F1C12
split-complementary
#274F12 #1C124F #4F1246
monochromatic
#0C1906 #0E1D07 #274F12 #40811D #58B329

Accessibility & contrast

On white

9.49
#274F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#274F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F12
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F12#FFFFFF#000000##FFFFFF
##274F121.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524808
Deuteranopia (green-blind)
#4D4418
Tritanopia (blue-blind)
#254C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274f12;
/* rgb */ color: rgb(39, 79, 18);
/* oklch */ color: oklch(38.4% 0.100 136.9);
Tailwind
colors: {
  custom: {
    50: '#658154',
    500: '#274f12',
    950: '#000000',
  },
}
SCSS
$custom: #274f12;
$custom-light: #658154;
$custom-dark: #000000;
JSON
{
  "hex": "#274f12",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 99.344,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38412,
    "c": 0.10014,
    "h": 136.9
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#274F12
secondary
#6B3588
accent
#42E6AD
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274F12

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

Preview Lab → · Contrast checker → · Palette generator →

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