#2F3E15#2F3E15

#2F3E15 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.066 H 126.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2F3E15
RGBrgb(47, 62, 21)
HSLhsl(82, 49%, 16%)
HSVhsv(82, 66%, 24%)
CMYKcmyk(24.2%, 0%, 66.1%, 75.7%)
CIE-LABlab(24.01, -13.92, 22.79)
CIE-LCHlch(24.01, 26.70, 121.41°)
OKLaboklab(34.02% -0.0394 0.0531)
OKLCHoklch(34.02% 0.066 126.5)
XYZxyz(3.0303, 4.1037, 1.3418)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E15 #24153E
analogous
#3E3915 #2F3E15 #1B3E15
triadic
#2F3E15 #152F3E #3E152F
tetradic
#2F3E15 #153E39 #24153E #3E151B
square
#2F3E15 #153E39 #24153E #3E151B
split-complementary
#2F3E15 #151B3E #39153E
monochromatic
#111708 #111708 #2F3E15 #526C24 #749934

Accessibility & contrast

On white

11.53
#2F3E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F3E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E15
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E15#FFFFFF#000000##FFFFFF
##2F3E151.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A11
Deuteranopia (green-blind)
#3F3918
Tritanopia (blue-blind)
#313B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f3e15;
/* rgb */ color: rgb(47, 62, 21);
/* oklch */ color: oklch(34.0% 0.066 126.5);
Tailwind
colors: {
  custom: {
    50: '#697354',
    500: '#2f3e15',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e15;
$custom-light: #697354;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e15",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 21
  },
  "hsl": {
    "h": 81.951,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34015,
    "c": 0.06612,
    "h": 126.5
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#2F3E15
secondary
#4F3976
accent
#4FD981
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2F3E15

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

Preview Lab → · Contrast checker → · Palette generator →

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