#274E12#274E12

#274E12 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.099 H 136.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#274E12
RGBrgb(39, 78, 18)
HSLhsl(99, 63%, 19%)
HSVhsv(99, 77%, 31%)
CMYKcmyk(50%, 0%, 76.9%, 69.4%)
CIE-LABlab(29.22, -25.91, 29.78)
CIE-LCHlch(29.22, 39.48, 131.02°)
OKLaboklab(38.12% -0.0719 0.0676)
OKLCHoklch(38.12% 0.099 136.7)
XYZxyz(3.6702, 5.9236, 1.5221)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E12 #39124E
analogous
#454E12 #274E12 #124E1B
triadic
#274E12 #12274E #4E1227
tetradic
#274E12 #12454E #39124E #4E1B12
square
#274E12 #12454E #39124E #4E1B12
split-complementary
#274E12 #1B124E #4E1245
monochromatic
#0C1906 #0E1C07 #274E12 #40801D #59B129

Accessibility & contrast

On white

9.61
#274E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#274E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E12
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E12#FFFFFF#000000##FFFFFF
##274E121.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#254B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274e12;
/* rgb */ color: rgb(39, 78, 18);
/* oklch */ color: oklch(38.1% 0.099 136.7);
Tailwind
colors: {
  custom: {
    50: '#658054',
    500: '#274e12',
    950: '#000000',
  },
}
SCSS
$custom: #274e12;
$custom-light: #658054;
$custom-dark: #000000;
JSON
{
  "hex": "#274e12",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 99,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38115,
    "c": 0.09869,
    "h": 136.7
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#274E12
secondary
#6A3587
accent
#42E6AC
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274E12

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

Preview Lab → · Contrast checker → · Palette generator →

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