#275017#275017

#275017 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.098 H 138.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#275017
RGBrgb(39, 80, 23)
HSLhsl(103, 55%, 20%)
HSVhsv(103, 71%, 31%)
CMYKcmyk(51.2%, 0%, 71.2%, 68.6%)
CIE-LABlab(29.99, -26.35, 28.25)
CIE-LCHlch(29.99, 38.63, 133.01°)
OKLaboklab(38.76% -0.0727 0.0651)
OKLCHoklch(38.76% 0.098 138.1)
XYZxyz(3.8599, 6.2303, 1.8096)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275017 #401750
analogous
#435017 #275017 #175023
triadic
#275017 #172750 #501727
tetradic
#275017 #174350 #401750 #502317
square
#275017 #174350 #401750 #502317
split-complementary
#275017 #231750 #501743
monochromatic
#0C1807 #102009 #275017 #3E8025 #55AF32

Accessibility & contrast

On white

9.35
#275017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#275017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275017
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275017#FFFFFF#000000##FFFFFF
##2750171.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534910
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#244D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #275017;
/* rgb */ color: rgb(39, 80, 23);
/* oklch */ color: oklch(38.8% 0.098 138.1);
Tailwind
colors: {
  custom: {
    50: '#658157',
    500: '#275017',
    950: '#000000',
  },
}
SCSS
$custom: #275017;
$custom-light: #658157;
$custom-dark: #000000;
JSON
{
  "hex": "#275017",
  "rgb": {
    "r": 39,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 103.158,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38759,
    "c": 0.09759,
    "h": 138.1
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#275017
secondary
#723C87
accent
#49DFB5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #275017

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

Preview Lab → · Contrast checker → · Palette generator →

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