#2F4913#2F4913

#2F4913 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.086 H 131.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#2F4913
RGBrgb(47, 73, 19)
HSLhsl(89, 59%, 18%)
HSVhsv(89, 74%, 29%)
CMYKcmyk(35.6%, 0%, 74%, 71.4%)
CIE-LABlab(27.89, -20.15, 28.07)
CIE-LCHlch(27.89, 34.55, 125.67°)
OKLaboklab(37.15% -0.0567 0.0641)
OKLCHoklch(37.15% 0.086 131.5)
XYZxyz(3.6723, 5.4163, 1.4679)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4913 #2D1349
analogous
#494813 #2F4913 #144913
triadic
#2F4913 #132F49 #49132F
tetradic
#2F4913 #134948 #2D1349 #491314
square
#2F4913 #134948 #2D1349 #491314
split-complementary
#2F4913 #131449 #481349
monochromatic
#101806 #101806 #2F4913 #4E7A20 #6EAA2C

Accessibility & contrast

On white

10.08
#2F4913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F4913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4913
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4913#FFFFFF#000000##FFFFFF
##2F49131.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430C
Deuteranopia (green-blind)
#494117
Tritanopia (blue-blind)
#30463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f4913;
/* rgb */ color: rgb(47, 73, 19);
/* oklch */ color: oklch(37.2% 0.086 131.5);
Tailwind
colors: {
  custom: {
    50: '#6a7c54',
    500: '#2f4913',
    950: '#000000',
  },
}
SCSS
$custom: #2f4913;
$custom-light: #6a7c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4913",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 19
  },
  "hsl": {
    "h": 88.889,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37154,
    "c": 0.08554,
    "h": 131.5
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#2F4913
secondary
#5B3682
accent
#46E291
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #2F4913

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

Preview Lab → · Contrast checker → · Palette generator →

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