#2F5513#2F5513

#2F5513 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.103 H 134.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2F5513
RGBrgb(47, 85, 19)
HSLhsl(95, 63%, 20%)
HSVhsv(95, 78%, 33%)
CMYKcmyk(44.7%, 0%, 77.6%, 66.7%)
CIE-LABlab(32.14, -26.12, 32.47)
CIE-LCHlch(32.14, 41.67, 128.81°)
OKLaboklab(40.63% -0.0729 0.0733)
OKLCHoklch(40.63% 0.103 134.9)
XYZxyz(4.5382, 7.1481, 1.7566)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5513 #391355
analogous
#505513 #2F5513 #135518
triadic
#2F5513 #132F55 #55132F
tetradic
#2F5513 #135055 #391355 #551813
square
#2F5513 #135055 #391355 #551813
split-complementary
#2F5513 #181355 #551350
monochromatic
#0E1906 #132308 #2F5513 #4B871E #66B929

Accessibility & contrast

On white

8.64
#2F5513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F5513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5513
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5513#FFFFFF#000000##FFFFFF
##2F55131.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E08
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#2E5148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f5513;
/* rgb */ color: rgb(47, 85, 19);
/* oklch */ color: oklch(40.6% 0.103 134.9);
Tailwind
colors: {
  custom: {
    50: '#6b8555',
    500: '#2f5513',
    950: '#000000',
  },
}
SCSS
$custom: #2f5513;
$custom-light: #6b8555;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5513",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 19
  },
  "hsl": {
    "h": 94.545,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40626,
    "c": 0.10339,
    "h": 134.9
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#2F5513
secondary
#68368D
accent
#41E6A0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5513

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

Preview Lab → · Contrast checker → · Palette generator →

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