#275111#275111

#275111 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.0% C 0.104 H 137.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#275111
RGBrgb(39, 81, 17)
HSLhsl(99, 65%, 19%)
HSVhsv(99, 79%, 32%)
CMYKcmyk(51.9%, 0%, 79%, 68.2%)
CIE-LABlab(30.29, -27.38, 31.32)
CIE-LCHlch(30.29, 41.60, 131.16°)
OKLaboklab(39% -0.0759 0.0707)
OKLCHoklch(39% 0.104 137.1)
XYZxyz(3.8802, 6.3564, 1.5527)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275111 #3B1151
analogous
#475111 #275111 #11511B
triadic
#275111 #112751 #511127
tetradic
#275111 #114751 #3B1151 #511B11
square
#275111 #114751 #3B1151 #511B11
split-complementary
#275111 #1B1151 #511147
monochromatic
#0C1905 #0F1E06 #275111 #3F841C #58B626

Accessibility & contrast

On white

9.25
#275111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#275111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275111
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275111#FFFFFF#000000##FFFFFF
##2751111.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A06
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#254E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #275111;
/* rgb */ color: rgb(39, 81, 17);
/* oklch */ color: oklch(39.0% 0.104 137.1);
Tailwind
colors: {
  custom: {
    50: '#668254',
    500: '#275111',
    950: '#000000',
  },
}
SCSS
$custom: #275111;
$custom-light: #668254;
$custom-dark: #000000;
JSON
{
  "hex": "#275111",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 99.375,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38996,
    "c": 0.10374,
    "h": 137.1
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#275111
secondary
#6C348A
accent
#40E8AE
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #275111

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

Preview Lab → · Contrast checker → · Palette generator →

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