#2F4615#2F4615

#2F4615 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.079 H 130.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2F4615
RGBrgb(47, 70, 21)
HSLhsl(88, 54%, 18%)
HSVhsv(88, 70%, 27%)
CMYKcmyk(32.9%, 0%, 70%, 72.5%)
CIE-LABlab(26.84, -18.36, 25.95)
CIE-LCHlch(26.84, 31.79, 125.28°)
OKLaboklab(36.31% -0.0516 0.0599)
OKLCHoklch(36.31% 0.079 130.8)
XYZxyz(3.4978, 5.0387, 1.4976)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4615 #2C1546
analogous
#464415 #2F4615 #174615
triadic
#2F4615 #152F46 #46152F
tetradic
#2F4615 #154644 #2C1546 #461517
square
#2F4615 #154644 #2C1546 #461517
split-complementary
#2F4615 #151746 #441546
monochromatic
#101807 #101807 #2F4615 #4F7523 #6EA431

Accessibility & contrast

On white

10.46
#2F4615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F4615 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4615
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4615#FFFFFF#000000##FFFFFF
##2F46151.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49410F
Deuteranopia (green-blind)
#463F19
Tritanopia (blue-blind)
#30433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4615;
/* rgb */ color: rgb(47, 70, 21);
/* oklch */ color: oklch(36.3% 0.079 130.8);
Tailwind
colors: {
  custom: {
    50: '#697955',
    500: '#2f4615',
    950: '#000000',
  },
}
SCSS
$custom: #2f4615;
$custom-light: #697955;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4615",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 21
  },
  "hsl": {
    "h": 88.163,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3631,
    "c": 0.07906,
    "h": 130.8
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#2F4615
secondary
#59397E
accent
#4BDD8F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4615

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

Preview Lab → · Contrast checker → · Palette generator →

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