#2B660F#2B660F

#2B660F is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.131 H 138.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2B660F
RGBrgb(43, 102, 15)
HSLhsl(101, 74%, 23%)
HSVhsv(101, 85%, 40%)
CMYKcmyk(57.8%, 0%, 85.3%, 60%)
CIE-LABlab(37.93, -35.24, 39.49)
CIE-LCHlch(37.93, 52.92, 131.75°)
OKLaboklab(45.33% -0.0975 0.0874)
OKLCHoklch(45.33% 0.131 138.1)
XYZxyz(5.8336, 10.0504, 2.0843)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B660F #4A0F66
analogous
#56660F #2B660F #0F661F
triadic
#2B660F #0F2B66 #660F2B
tetradic
#2B660F #0F5666 #4A0F66 #661F0F
square
#2B660F #0F5666 #4A0F66 #661F0F
split-complementary
#2B660F #1F0F66 #660F56
monochromatic
#0B1B04 #153107 #2B660F #419B17 #58D11F

Accessibility & contrast

On white

6.98
#2B660F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2B660F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B660F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B660F#FFFFFF#000000##FFFFFF
##2B660F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#62571A
Tritanopia (blue-blind)
#266256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b660f;
/* rgb */ color: rgb(43, 102, 15);
/* oklch */ color: oklch(45.3% 0.131 138.1);
Tailwind
colors: {
  custom: {
    50: '#6c9256',
    500: '#2b660f',
    950: '#000000',
  },
}
SCSS
$custom: #2b660f;
$custom-light: #6c9256;
$custom-dark: #000000;
JSON
{
  "hex": "#2b660f",
  "rgb": {
    "r": 43,
    "g": 102,
    "b": 15
  },
  "hsl": {
    "h": 100.69,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.13092,
    "h": 138.1
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#2B660F
secondary
#7C329F
accent
#37F1B5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2B660F

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

Preview Lab → · Contrast checker → · Palette generator →

#2B660F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva