#274117#274117

#274117 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.074 H 135.1°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#274117
RGBrgb(39, 65, 23)
HSLhsl(97, 48%, 17%)
HSVhsv(97, 65%, 25%)
CMYKcmyk(40%, 0%, 64.6%, 74.5%)
CIE-LABlab(24.56, -18.90, 22.16)
CIE-LCHlch(24.56, 29.13, 130.47°)
OKLaboklab(34.32% -0.0524 0.0521)
OKLCHoklch(34.32% 0.074 135.1)
XYZxyz(2.8816, 4.2737, 1.4835)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274117 #311741
analogous
#3C4117 #274117 #17411C
triadic
#274117 #172741 #411727
tetradic
#274117 #173C41 #311741 #411C17
square
#274117 #173C41 #311741 #411C17
split-complementary
#274117 #1C1741 #41173C
monochromatic
#0E1708 #0E1708 #274117 #426E27 #5D9B37

Accessibility & contrast

On white

11.32
#274117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#274117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274117
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274117#FFFFFF#000000##FFFFFF
##2741171.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C13
Deuteranopia (green-blind)
#403A1A
Tritanopia (blue-blind)
#273E38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #274117;
/* rgb */ color: rgb(39, 65, 23);
/* oklch */ color: oklch(34.3% 0.074 135.1);
Tailwind
colors: {
  custom: {
    50: '#637655',
    500: '#274117',
    950: '#000000',
  },
}
SCSS
$custom: #274117;
$custom-light: #637655;
$custom-dark: #000000;
JSON
{
  "hex": "#274117",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 23
  },
  "hsl": {
    "h": 97.143,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.34319,
    "c": 0.07389,
    "h": 135.1
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#274117
secondary
#613C78
accent
#50D7A4
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050803
muted
#7A7B78

Preview Lab

Preview with #274117

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

Preview Lab → · Contrast checker → · Palette generator →

#274117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva