#2F4B15#2F4B15

#2F4B15 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.087 H 132.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2F4B15
RGBrgb(47, 75, 21)
HSLhsl(91, 56%, 19%)
HSVhsv(91, 72%, 29%)
CMYKcmyk(37.3%, 0%, 72%, 70.6%)
CIE-LABlab(28.62, -20.99, 27.88)
CIE-LCHlch(28.62, 34.90, 126.98°)
OKLaboklab(37.75% -0.0588 0.064)
OKLCHoklch(37.75% 0.087 132.6)
XYZxyz(3.8237, 5.6905, 1.6062)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B15 #31154B
analogous
#4A4B15 #2F4B15 #154B16
triadic
#2F4B15 #152F4B #4B152F
tetradic
#2F4B15 #154A4B #31154B #4B1615
square
#2F4B15 #154A4B #31154B #4B1615
split-complementary
#2F4B15 #16154B #4B154A
monochromatic
#0F1807 #111B08 #2F4B15 #4D7B22 #6BAB30

Accessibility & contrast

On white

9.82
#2F4B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2F4B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B15
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B15#FFFFFF#000000##FFFFFF
##2F4B151.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450E
Deuteranopia (green-blind)
#4A4319
Tritanopia (blue-blind)
#2F4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4b15;
/* rgb */ color: rgb(47, 75, 21);
/* oklch */ color: oklch(37.8% 0.087 132.6);
Tailwind
colors: {
  custom: {
    50: '#6a7d55',
    500: '#2f4b15',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b15;
$custom-light: #6a7d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b15",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 21
  },
  "hsl": {
    "h": 91.111,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37753,
    "c": 0.08689,
    "h": 132.6
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

primary
#2F4B15
secondary
#5F3983
accent
#48E097
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #2F4B15

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

Preview Lab → · Contrast checker → · Palette generator →

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