#275F0C#275F0C

#275F0C is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.1% C 0.125 H 138.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#275F0C
RGBrgb(39, 95, 12)
HSLhsl(100, 78%, 21%)
HSVhsv(100, 87%, 37%)
CMYKcmyk(58.9%, 0%, 87.4%, 62.7%)
CIE-LABlab(35.29, -33.77, 37.93)
CIE-LCHlch(35.29, 50.78, 131.68°)
OKLaboklab(43.1% -0.0934 0.0837)
OKLCHoklch(43.1% 0.125 138.2)
XYZxyz(4.9951, 8.6419, 1.7526)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275F0C #440C5F
analogous
#505F0C #275F0C #0C5F1A
triadic
#275F0C #0C275F #5F0C27
tetradic
#275F0C #0C505F #440C5F #5F1A0C
square
#275F0C #0C505F #440C5F #5F1A0C
split-complementary
#275F0C #1A0C5F #5F0C50
monochromatic
#0B1B03 #112905 #275F0C #3D9513 #54CC1A

Accessibility & contrast

On white

7.70
#275F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#275F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275F0C
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275F0C#FFFFFF#000000##FFFFFF
##275F0C1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#225B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #275f0c;
/* rgb */ color: rgb(39, 95, 12);
/* oklch */ color: oklch(43.1% 0.125 138.2);
Tailwind
colors: {
  custom: {
    50: '#698d54',
    500: '#275f0c',
    950: '#000000',
  },
}
SCSS
$custom: #275f0c;
$custom-light: #698d54;
$custom-dark: #000000;
JSON
{
  "hex": "#275f0c",
  "rgb": {
    "r": 39,
    "g": 95,
    "b": 12
  },
  "hsl": {
    "h": 100.482,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43097,
    "c": 0.12545,
    "h": 138.2
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#275F0C
secondary
#762D99
accent
#34F4B6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #275F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#275F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva