#274E11#274E11

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

Color values

HEX#274E11
RGBrgb(39, 78, 17)
HSLhsl(98, 64%, 19%)
HSVhsv(98, 78%, 31%)
CMYKcmyk(50%, 0%, 78.2%, 69.4%)
CIE-LABlab(29.21, -26.00, 30.22)
CIE-LCHlch(29.21, 39.86, 130.70°)
OKLaboklab(38.11% -0.0722 0.0684)
OKLCHoklch(38.11% 0.099 136.6)
XYZxyz(3.6622, 5.9204, 1.4800)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E11 #38114E
analogous
#454E11 #274E11 #114E19
triadic
#274E11 #11274E #4E1127
tetradic
#274E11 #11454E #38114E #4E1911
square
#274E11 #11454E #38114E #4E1911
split-complementary
#274E11 #19114E #4E1145
monochromatic
#0D1905 #0E1C06 #274E11 #40801C #59B227

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274E11#FFFFFF#000000##FFFFFF
##274E111.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)
#514707
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#254B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274e11;
/* rgb */ color: rgb(39, 78, 17);
/* oklch */ color: oklch(38.1% 0.099 136.6);
Tailwind
colors: {
  custom: {
    50: '#658053',
    500: '#274e11',
    950: '#000000',
  },
}
SCSS
$custom: #274e11;
$custom-light: #658053;
$custom-dark: #000000;
JSON
{
  "hex": "#274e11",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 98.361,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38106,
    "c": 0.09943,
    "h": 136.6
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#274E11
secondary
#693387
accent
#41E7AB
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274E11

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

Preview Lab → · Contrast checker → · Palette generator →

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