#2F4914#2F4914

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

Color values

HEX#2F4914
RGBrgb(47, 73, 20)
HSLhsl(89, 57%, 18%)
HSVhsv(89, 73%, 29%)
CMYKcmyk(35.6%, 0%, 72.6%, 71.4%)
CIE-LABlab(27.90, -20.05, 27.60)
CIE-LCHlch(27.90, 34.11, 126.00°)
OKLaboklab(37.16% -0.0563 0.0632)
OKLCHoklch(37.16% 0.085 131.7)
XYZxyz(3.6811, 5.4198, 1.5139)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4914 #2E1449
analogous
#494814 #2F4914 #144914
triadic
#2F4914 #142F49 #49142F
tetradic
#2F4914 #144948 #2E1449 #491414
square
#2F4914 #144948 #2E1449 #491414
split-complementary
#2F4914 #141449 #481449
monochromatic
#0F1807 #101907 #2F4914 #4E7921 #6DA92E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4914#FFFFFF#000000##FFFFFF
##2F49141.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)
#4C430D
Deuteranopia (green-blind)
#494118
Tritanopia (blue-blind)
#30463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f4914;
/* rgb */ color: rgb(47, 73, 20);
/* oklch */ color: oklch(37.2% 0.085 131.7);
Tailwind
colors: {
  custom: {
    50: '#6a7c54',
    500: '#2f4914',
    950: '#000000',
  },
}
SCSS
$custom: #2f4914;
$custom-light: #6a7c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4914",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 20
  },
  "hsl": {
    "h": 89.434,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37164,
    "c": 0.08468,
    "h": 131.7
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#2F4914
secondary
#5C3881
accent
#48E092
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4914

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

Preview Lab → · Contrast checker → · Palette generator →

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