#274B17#274B17

#274B17 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.3% C 0.090 H 137.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#274B17
RGBrgb(39, 75, 23)
HSLhsl(102, 53%, 19%)
HSVhsv(102, 69%, 29%)
CMYKcmyk(48%, 0%, 69.3%, 70.6%)
CIE-LABlab(28.18, -23.97, 26.26)
CIE-LCHlch(28.18, 35.56, 132.39°)
OKLaboklab(37.28% -0.0662 0.0609)
OKLCHoklch(37.28% 0.09 137.4)
XYZxyz(3.5073, 5.5251, 1.6921)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B17 #3B174B
analogous
#414B17 #274B17 #174B21
triadic
#274B17 #17274B #4B1727
tetradic
#274B17 #17414B #3B174B #4B2117
square
#274B17 #17414B #3B174B #4B2117
split-complementary
#274B17 #21174B #4B1741
monochromatic
#0C1707 #0F1C09 #274B17 #3F7A25 #58A934

Accessibility & contrast

On white

9.98
#274B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#274B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B17
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B17#FFFFFF#000000##FFFFFF
##274B171.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4411
Deuteranopia (green-blind)
#49411B
Tritanopia (blue-blind)
#254840
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #274b17;
/* rgb */ color: rgb(39, 75, 23);
/* oklch */ color: oklch(37.3% 0.090 137.4);
Tailwind
colors: {
  custom: {
    50: '#657d56',
    500: '#274b17',
    950: '#000000',
  },
}
SCSS
$custom: #274b17;
$custom-light: #657d56;
$custom-dark: #000000;
JSON
{
  "hex": "#274b17",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 23
  },
  "hsl": {
    "h": 101.538,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3728,
    "c": 0.08997,
    "h": 137.4
  },
  "luminance": 0.05525
}

Semantic roles & 50–950 ramp

primary
#274B17
secondary
#6C3C82
accent
#4BDCB0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #274B17

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

Preview Lab → · Contrast checker → · Palette generator →

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