#274912#274912

#274912 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.091 H 135.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#274912
RGBrgb(39, 73, 18)
HSLhsl(97, 60%, 18%)
HSVhsv(97, 75%, 29%)
CMYKcmyk(46.6%, 0%, 75.3%, 71.4%)
CIE-LABlab(27.41, -23.52, 27.89)
CIE-LCHlch(27.41, 36.49, 130.14°)
OKLaboklab(36.63% -0.0654 0.0637)
OKLCHoklch(36.63% 0.091 135.8)
XYZxyz(3.3283, 5.2399, 1.4082)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274912 #341249
analogous
#424912 #274912 #124918
triadic
#274912 #122749 #491227
tetradic
#274912 #124249 #341249 #491812
square
#274912 #124249 #341249 #491812
split-complementary
#274912 #181249 #491242
monochromatic
#0D1906 #0D1906 #274912 #417A1E #5BAB2A

Accessibility & contrast

On white

10.25
#274912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#274912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274912
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274912#FFFFFF#000000##FFFFFF
##2749121.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430A
Deuteranopia (green-blind)
#474017
Tritanopia (blue-blind)
#26463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #274912;
/* rgb */ color: rgb(39, 73, 18);
/* oklch */ color: oklch(36.6% 0.091 135.8);
Tailwind
colors: {
  custom: {
    50: '#657c53',
    500: '#274912',
    950: '#000000',
  },
}
SCSS
$custom: #274912;
$custom-light: #657c53;
$custom-dark: #000000;
JSON
{
  "hex": "#274912",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 97.091,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3663,
    "c": 0.09127,
    "h": 135.8
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#274912
secondary
#653582
accent
#44E4A7
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #274912

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

Preview Lab → · Contrast checker → · Palette generator →

#274912 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva