#275012#275012

#275012 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.102 H 137.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#275012
RGBrgb(39, 80, 18)
HSLhsl(100, 63%, 19%)
HSVhsv(100, 78%, 31%)
CMYKcmyk(51.2%, 0%, 77.5%, 68.6%)
CIE-LABlab(29.94, -26.84, 30.53)
CIE-LCHlch(29.94, 40.65, 131.32°)
OKLaboklab(38.71% -0.0744 0.0692)
OKLCHoklch(38.71% 0.102 137.1)
XYZxyz(3.8144, 6.2121, 1.5702)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275012 #3B1250
analogous
#465012 #275012 #12501C
triadic
#275012 #122750 #501227
tetradic
#275012 #124650 #3B1250 #501C12
square
#275012 #124650 #3B1250 #501C12
split-complementary
#275012 #1C1250 #501246
monochromatic
#0C1906 #0F1E07 #275012 #3F821D #58B428

Accessibility & contrast

On white

9.36
#275012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#275012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275012
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275012#FFFFFF#000000##FFFFFF
##2750121.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#254D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #275012;
/* rgb */ color: rgb(39, 80, 18);
/* oklch */ color: oklch(38.7% 0.102 137.1);
Tailwind
colors: {
  custom: {
    50: '#668154',
    500: '#275012',
    950: '#000000',
  },
}
SCSS
$custom: #275012;
$custom-light: #668154;
$custom-dark: #000000;
JSON
{
  "hex": "#275012",
  "rgb": {
    "r": 39,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 99.677,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38708,
    "c": 0.10158,
    "h": 137.1
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#275012
secondary
#6C3589
accent
#41E6AE
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #275012

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

Preview Lab → · Contrast checker → · Palette generator →

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