#2F4605#2F4605

#2F4605 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.091 H 128.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2F4605
RGBrgb(47, 70, 5)
HSLhsl(81, 87%, 15%)
HSVhsv(81, 93%, 27%)
CMYKcmyk(32.9%, 0%, 92.9%, 72.5%)
CIE-LABlab(26.72, -19.56, 32.78)
CIE-LCHlch(26.72, 38.18, 120.83°)
OKLaboklab(36.17% -0.0564 0.0713)
OKLCHoklch(36.17% 0.091 128.3)
XYZxyz(3.3898, 4.9955, 0.9292)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4605 #1C0546
analogous
#463D05 #2F4605 #0E4605
triadic
#2F4605 #052F46 #46052F
tetradic
#2F4605 #05463D #1C0546 #46050E
square
#2F4605 #05463D #1C0546 #46050E
split-complementary
#2F4605 #050E46 #3D0546
monochromatic
#131D02 #131D02 #2F4605 #557F09 #7CB80D

Accessibility & contrast

On white

10.50
#2F4605 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F4605 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4605
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4605#FFFFFF#000000##FFFFFF
##2F46051.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#473F0C
Tritanopia (blue-blind)
#31423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4605;
/* rgb */ color: rgb(47, 70, 5);
/* oklch */ color: oklch(36.2% 0.091 128.3);
Tailwind
colors: {
  custom: {
    50: '#6b794c',
    500: '#2f4605',
    950: '#000000',
  },
}
SCSS
$custom: #2f4605;
$custom-light: #6b794c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4605",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 5
  },
  "hsl": {
    "h": 81.231,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.36171,
    "c": 0.09092,
    "h": 128.3
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#2F4605
secondary
#452186
accent
#2BFD75
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2F4605

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

Preview Lab → · Contrast checker → · Palette generator →

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