#274E0E#274E0E

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

Color values

HEX#274E0E
RGBrgb(39, 78, 14)
HSLhsl(97, 70%, 18%)
HSVhsv(97, 82%, 31%)
CMYKcmyk(50%, 0%, 82.1%, 69.4%)
CIE-LABlab(29.19, -26.24, 31.45)
CIE-LCHlch(29.19, 40.96, 129.83°)
OKLaboklab(38.08% -0.0731 0.0705)
OKLCHoklch(38.08% 0.102 136)
XYZxyz(3.6403, 5.9116, 1.3646)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E0E #350E4E
analogous
#474E0E #274E0E #0E4E15
triadic
#274E0E #0E274E #4E0E27
tetradic
#274E0E #0E474E #350E4E #4E150E
square
#274E0E #0E474E #350E4E #4E150E
split-complementary
#274E0E #150E4E #4E0E47
monochromatic
#0D1A05 #0D1A05 #274E0E #418217 #5BB621

Accessibility & contrast

On white

9.62
#274E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274E0E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E0E#FFFFFF#000000##FFFFFF
##274E0E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274e0e;
/* rgb */ color: rgb(39, 78, 14);
/* oklch */ color: oklch(38.1% 0.102 136.0);
Tailwind
colors: {
  custom: {
    50: '#668052',
    500: '#274e0e',
    950: '#000000',
  },
}
SCSS
$custom: #274e0e;
$custom-light: #668052;
$custom-dark: #000000;
JSON
{
  "hex": "#274e0e",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 96.563,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3808,
    "c": 0.10152,
    "h": 136
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#274E0E
secondary
#662F89
accent
#3BECA7
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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