#274F11#274F11

#274F11 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.4% C 0.101 H 136.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#274F11
RGBrgb(39, 79, 17)
HSLhsl(99, 65%, 19%)
HSVhsv(99, 78%, 31%)
CMYKcmyk(50.6%, 0%, 78.5%, 69%)
CIE-LABlab(29.57, -26.46, 30.59)
CIE-LCHlch(29.57, 40.44, 130.86°)
OKLaboklab(38.4% -0.0734 0.0692)
OKLCHoklch(38.4% 0.101 136.7)
XYZxyz(3.7338, 6.0635, 1.5038)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F11 #39114F
analogous
#464F11 #274F11 #114F1A
triadic
#274F11 #11274F #4F1127
tetradic
#274F11 #11464F #39114F #4F1A11
square
#274F11 #11464F #39114F #4F1A11
split-complementary
#274F11 #1A114F #4F1146
monochromatic
#0C1905 #0E1D06 #274F11 #40811C #59B427

Accessibility & contrast

On white

9.49
#274F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#274F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F11
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F11#FFFFFF#000000##FFFFFF
##274F111.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524807
Deuteranopia (green-blind)
#4D4417
Tritanopia (blue-blind)
#254C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274f11;
/* rgb */ color: rgb(39, 79, 17);
/* oklch */ color: oklch(38.4% 0.101 136.7);
Tailwind
colors: {
  custom: {
    50: '#668153',
    500: '#274f11',
    950: '#000000',
  },
}
SCSS
$custom: #274f11;
$custom-light: #668153;
$custom-dark: #000000;
JSON
{
  "hex": "#274f11",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 98.71,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38402,
    "c": 0.10088,
    "h": 136.7
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#274F11
secondary
#6A3388
accent
#40E8AC
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274F11

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

Preview Lab → · Contrast checker → · Palette generator →

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