#2F4B14#2F4B14

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

Color values

HEX#2F4B14
RGBrgb(47, 75, 20)
HSLhsl(91, 58%, 19%)
HSVhsv(91, 73%, 29%)
CMYKcmyk(37.3%, 0%, 73.3%, 70.6%)
CIE-LABlab(28.61, -21.09, 28.35)
CIE-LCHlch(28.61, 35.34, 126.64°)
OKLaboklab(37.74% -0.0592 0.0648)
OKLCHoklch(37.74% 0.088 132.4)
XYZxyz(3.8146, 5.6869, 1.5584)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B14 #30144B
analogous
#4A4B14 #2F4B14 #144B14
triadic
#2F4B14 #142F4B #4B142F
tetradic
#2F4B14 #144A4B #30144B #4B1414
square
#2F4B14 #144A4B #30144B #4B1414
split-complementary
#2F4B14 #14144B #4B144A
monochromatic
#0F1806 #111B07 #2F4B14 #4D7B21 #6CAC2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4B14#FFFFFF#000000##FFFFFF
##2F4B141.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)
#4E450D
Deuteranopia (green-blind)
#4A4319
Tritanopia (blue-blind)
#304840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4b14;
/* rgb */ color: rgb(47, 75, 20);
/* oklch */ color: oklch(37.7% 0.088 132.4);
Tailwind
colors: {
  custom: {
    50: '#6a7d55',
    500: '#2f4b14',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b14;
$custom-light: #6a7d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b14",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 20
  },
  "hsl": {
    "h": 90.545,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37742,
    "c": 0.08776,
    "h": 132.4
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#2F4B14
secondary
#5E3883
accent
#47E195
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #2F4B14

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

Preview Lab → · Contrast checker → · Palette generator →

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