#2F4B13#2F4B13

#2F4B13 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.089 H 132.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2F4B13
RGBrgb(47, 75, 19)
HSLhsl(90, 60%, 18%)
HSVhsv(90, 75%, 29%)
CMYKcmyk(37.3%, 0%, 74.7%, 70.6%)
CIE-LABlab(28.60, -21.18, 28.82)
CIE-LCHlch(28.60, 35.76, 126.31°)
OKLaboklab(37.73% -0.0595 0.0656)
OKLCHoklch(37.73% 0.089 132.2)
XYZxyz(3.8059, 5.6834, 1.5124)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B13 #2F134B
analogous
#4B4B13 #2F4B13 #134B13
triadic
#2F4B13 #132F4B #4B132F
tetradic
#2F4B13 #134B4B #2F134B #4B1313
square
#2F4B13 #134B4B #2F134B #4B1313
split-complementary
#2F4B13 #13134B #4B134B
monochromatic
#0F1806 #101A07 #2F4B13 #4E7C1F #6CAD2C

Accessibility & contrast

On white

9.83
#2F4B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4B13
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B13#FFFFFF#000000##FFFFFF
##2F4B131.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450B
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#304840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4b13;
/* rgb */ color: rgb(47, 75, 19);
/* oklch */ color: oklch(37.7% 0.089 132.2);
Tailwind
colors: {
  custom: {
    50: '#6a7d54',
    500: '#2f4b13',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b13;
$custom-light: #6a7d54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b13",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 19
  },
  "hsl": {
    "h": 90,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37732,
    "c": 0.08861,
    "h": 132.2
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#2F4B13
secondary
#5D3684
accent
#45E394
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #2F4B13

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

Preview Lab → · Contrast checker → · Palette generator →

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