#2F5113#2F5113

#2F5113 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.5% C 0.098 H 133.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2F5113
RGBrgb(47, 81, 19)
HSLhsl(93, 62%, 20%)
HSVhsv(93, 77%, 32%)
CMYKcmyk(42%, 0%, 76.5%, 68.2%)
CIE-LABlab(30.73, -24.19, 31.03)
CIE-LCHlch(30.73, 39.34, 127.94°)
OKLaboklab(39.47% -0.0677 0.0703)
OKLCHoklch(39.47% 0.098 133.9)
XYZxyz(4.2322, 6.5360, 1.6545)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5113 #351351
analogous
#4E5113 #2F5113 #135116
triadic
#2F5113 #132F51 #51132F
tetradic
#2F5113 #134E51 #351351 #511613
square
#2F5113 #134E51 #351351 #511613
split-complementary
#2F5113 #161351 #51134E
monochromatic
#0E1906 #121F07 #2F5113 #4C831F #69B42A

Accessibility & contrast

On white

9.10
#2F5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2F5113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5113
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5113#FFFFFF#000000##FFFFFF
##2F51131.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A09
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#2F4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f5113;
/* rgb */ color: rgb(47, 81, 19);
/* oklch */ color: oklch(39.5% 0.098 133.9);
Tailwind
colors: {
  custom: {
    50: '#6b8255',
    500: '#2f5113',
    950: '#000000',
  },
}
SCSS
$custom: #2f5113;
$custom-light: #6b8255;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5113",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 92.903,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39468,
    "c": 0.09757,
    "h": 133.9
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#2F5113
secondary
#64368A
accent
#43E59C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F5113

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

Preview Lab → · Contrast checker → · Palette generator →

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