#274A12#274A12

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

Color values

HEX#274A12
RGBrgb(39, 74, 18)
HSLhsl(98, 61%, 18%)
HSVhsv(98, 76%, 29%)
CMYKcmyk(47.3%, 0%, 75.7%, 71%)
CIE-LABlab(27.77, -24.01, 28.28)
CIE-LCHlch(27.77, 37.09, 130.33°)
OKLaboklab(36.93% -0.0667 0.0645)
OKLCHoklch(36.93% 0.093 136)
XYZxyz(3.3946, 5.3724, 1.4303)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A12 #35124A
analogous
#434A12 #274A12 #124A19
triadic
#274A12 #12274A #4A1227
tetradic
#274A12 #12434A #35124A #4A1912
square
#274A12 #12434A #35124A #4A1912
split-complementary
#274A12 #19124A #4A1243
monochromatic
#0D1906 #0D1906 #274A12 #417B1E #5BAC2A

Accessibility & contrast

On white

10.12
#274A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274A12
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A12#FFFFFF#000000##FFFFFF
##274A121.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430A
Deuteranopia (green-blind)
#484017
Tritanopia (blue-blind)
#26473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #274a12;
/* rgb */ color: rgb(39, 74, 18);
/* oklch */ color: oklch(36.9% 0.093 136.0);
Tailwind
colors: {
  custom: {
    50: '#657d53',
    500: '#274a12',
    950: '#000000',
  },
}
SCSS
$custom: #274a12;
$custom-light: #657d53;
$custom-dark: #000000;
JSON
{
  "hex": "#274a12",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 97.5,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36927,
    "c": 0.09277,
    "h": 136
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#274A12
secondary
#663583
accent
#44E4A8
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #274A12

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

Preview Lab → · Contrast checker → · Palette generator →

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