#274D11#274D11

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

Color values

HEX#274D11
RGBrgb(39, 77, 17)
HSLhsl(98, 64%, 18%)
HSVhsv(98, 78%, 30%)
CMYKcmyk(49.4%, 0%, 77.9%, 69.8%)
CIE-LABlab(28.85, -25.53, 29.85)
CIE-LCHlch(28.85, 39.28, 130.54°)
OKLaboklab(37.81% -0.0709 0.0676)
OKLCHoklch(37.81% 0.098 136.4)
XYZxyz(3.5917, 5.7793, 1.4565)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D11 #37114D
analogous
#454D11 #274D11 #114D19
triadic
#274D11 #11274D #4D1127
tetradic
#274D11 #11454D #37114D #4D1911
square
#274D11 #11454D #37114D #4D1911
split-complementary
#274D11 #19114D #4D1145
monochromatic
#0D1906 #0E1B06 #274D11 #407F1C #5AB127

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274D11#FFFFFF#000000##FFFFFF
##274D111.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)
#504607
Deuteranopia (green-blind)
#4B4317
Tritanopia (blue-blind)
#254A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #274d11;
/* rgb */ color: rgb(39, 77, 17);
/* oklch */ color: oklch(37.8% 0.098 136.4);
Tailwind
colors: {
  custom: {
    50: '#657f53',
    500: '#274d11',
    950: '#000000',
  },
}
SCSS
$custom: #274d11;
$custom-light: #657f53;
$custom-dark: #000000;
JSON
{
  "hex": "#274d11",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 98,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37809,
    "c": 0.09798,
    "h": 136.4
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#274D11
secondary
#683386
accent
#41E7AA
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274D11

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

Preview Lab → · Contrast checker → · Palette generator →

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