#274012#274012

#274012 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.077 H 133.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#274012
RGBrgb(39, 64, 18)
HSLhsl(93, 56%, 16%)
HSVhsv(93, 72%, 25%)
CMYKcmyk(39.1%, 0%, 71.9%, 74.9%)
CIE-LABlab(24.13, -18.95, 24.38)
CIE-LCHlch(24.13, 30.88, 127.86°)
OKLaboklab(33.96% -0.0529 0.0563)
OKLCHoklch(33.96% 0.077 133.3)
XYZxyz(2.7792, 4.1417, 1.2251)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274012 #2B1240
analogous
#3E4012 #274012 #124014
triadic
#274012 #122740 #401227
tetradic
#274012 #123E40 #2B1240 #401412
square
#274012 #123E40 #2B1240 #401412
split-complementary
#274012 #141240 #40123E
monochromatic
#0F1807 #0F1807 #274012 #44701F #61A02D

Accessibility & contrast

On white

11.49
#274012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#274012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274012
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274012#FFFFFF#000000##FFFFFF
##2740121.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0C
Deuteranopia (green-blind)
#3F3916
Tritanopia (blue-blind)
#273D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #274012;
/* rgb */ color: rgb(39, 64, 18);
/* oklch */ color: oklch(34.0% 0.077 133.3);
Tailwind
colors: {
  custom: {
    50: '#637552',
    500: '#274012',
    950: '#000000',
  },
}
SCSS
$custom: #274012;
$custom-light: #637552;
$custom-dark: #000000;
JSON
{
  "hex": "#274012",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 92.609,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33956,
    "c": 0.07726,
    "h": 133.3
  },
  "luminance": 0.04142
}

Semantic roles & 50–950 ramp

primary
#274012
secondary
#5A3579
accent
#48DF9A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #274012

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

Preview Lab → · Contrast checker → · Palette generator →

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