#274A0C#274A0C

#274A0C is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 36.9% C 0.097 H 134.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#274A0C
RGBrgb(39, 74, 12)
HSLhsl(94, 72%, 17%)
HSVhsv(94, 84%, 29%)
CMYKcmyk(47.3%, 0%, 83.8%, 71%)
CIE-LABlab(27.72, -24.50, 30.82)
CIE-LCHlch(27.72, 39.37, 128.48°)
OKLaboklab(36.87% -0.0685 0.0688)
OKLCHoklch(36.87% 0.097 134.9)
XYZxyz(3.3518, 5.3552, 1.2048)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A0C #2F0C4A
analogous
#464A0C #274A0C #0C4A10
triadic
#274A0C #0C274A #4A0C27
tetradic
#274A0C #0C464A #2F0C4A #4A100C
square
#274A0C #0C464A #2F0C4A #4A100C
split-complementary
#274A0C #100C4A #4A0C46
monochromatic
#0E1A04 #0E1A04 #274A0C #437F15 #5FB31D

Accessibility & contrast

On white

10.14
#274A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#274A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A0C
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A0C#FFFFFF#000000##FFFFFF
##274A0C1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4302
Deuteranopia (green-blind)
#484012
Tritanopia (blue-blind)
#26473E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #274a0c;
/* rgb */ color: rgb(39, 74, 12);
/* oklch */ color: oklch(36.9% 0.097 134.9);
Tailwind
colors: {
  custom: {
    50: '#657d50',
    500: '#274a0c',
    950: '#000000',
  },
}
SCSS
$custom: #274a0c;
$custom-light: #657d50;
$custom-dark: #000000;
JSON
{
  "hex": "#274a0c",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 12
  },
  "hsl": {
    "h": 93.871,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36874,
    "c": 0.09711,
    "h": 134.9
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#274A0C
secondary
#5F2C86
accent
#39EFA0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #274A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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