#2F6015#2F6015

#2F6015 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.8% C 0.117 H 137.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2F6015
RGBrgb(47, 96, 21)
HSLhsl(99, 64%, 23%)
HSVhsv(99, 78%, 38%)
CMYKcmyk(51%, 0%, 78.1%, 62.4%)
CIE-LABlab(36.03, -30.99, 35.55)
CIE-LCHlch(36.03, 47.16, 131.08°)
OKLaboklab(43.82% -0.0859 0.08)
OKLCHoklch(43.82% 0.117 137)
XYZxyz(5.4904, 9.0239, 2.1618)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6015 #461560
analogous
#546015 #2F6015 #156020
triadic
#2F6015 #152F60 #60152F
tetradic
#2F6015 #155460 #461560 #602015
square
#2F6015 #155460 #461560 #602015
split-complementary
#2F6015 #201560 #601554
monochromatic
#0C1905 #162E0A #2F6015 #489220 #60C42B

Accessibility & contrast

On white

7.49
#2F6015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2F6015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6015
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6015#FFFFFF#000000##FFFFFF
##2F60151.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635707
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#2C5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f6015;
/* rgb */ color: rgb(47, 96, 21);
/* oklch */ color: oklch(43.8% 0.117 137.0);
Tailwind
colors: {
  custom: {
    50: '#6d8d58',
    500: '#2f6015',
    950: '#000000',
  },
}
SCSS
$custom: #2f6015;
$custom-light: #6d8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6015",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 99.2,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43821,
    "c": 0.11745,
    "h": 137
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

primary
#2F6015
secondary
#773A97
accent
#41E7AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F6015

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

Preview Lab → · Contrast checker → · Palette generator →

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