#274D12#274D12

#274D12 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.8% C 0.097 H 136.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#274D12
RGBrgb(39, 77, 18)
HSLhsl(99, 62%, 19%)
HSVhsv(99, 77%, 30%)
CMYKcmyk(49.4%, 0%, 76.6%, 69.8%)
CIE-LABlab(28.86, -25.44, 29.41)
CIE-LCHlch(28.86, 38.88, 130.86°)
OKLaboklab(37.82% -0.0706 0.0668)
OKLCHoklch(37.82% 0.097 136.6)
XYZxyz(3.5997, 5.7825, 1.4986)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D12 #38124D
analogous
#444D12 #274D12 #124D1A
triadic
#274D12 #12274D #4D1227
tetradic
#274D12 #12444D #38124D #4D1A12
square
#274D12 #12444D #38124D #4D1A12
split-complementary
#274D12 #1A124D #4D1244
monochromatic
#0D1906 #0E1B06 #274D12 #407F1E #59B029

Accessibility & contrast

On white

9.74
#274D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#274D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D12
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D12#FFFFFF#000000##FFFFFF
##274D121.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4B4317
Tritanopia (blue-blind)
#254A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #274d12;
/* rgb */ color: rgb(39, 77, 18);
/* oklch */ color: oklch(37.8% 0.097 136.6);
Tailwind
colors: {
  custom: {
    50: '#657f54',
    500: '#274d12',
    950: '#000000',
  },
}
SCSS
$custom: #274d12;
$custom-light: #657f54;
$custom-dark: #000000;
JSON
{
  "hex": "#274d12",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 98.644,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37818,
    "c": 0.09722,
    "h": 136.6
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#274D12
secondary
#693586
accent
#43E5AB
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274D12

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

Preview Lab → · Contrast checker → · Palette generator →

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