#2F5414#2F5414

#2F5414 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.101 H 134.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2F5414
RGBrgb(47, 84, 20)
HSLhsl(95, 62%, 20%)
HSVhsv(95, 76%, 33%)
CMYKcmyk(44%, 0%, 76.2%, 67.1%)
CIE-LABlab(31.80, -25.56, 31.68)
CIE-LCHlch(31.80, 40.70, 128.89°)
OKLaboklab(40.35% -0.0713 0.0718)
OKLCHoklch(40.35% 0.101 134.8)
XYZxyz(4.4688, 6.9953, 1.7764)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5414 #391454
analogous
#4F5414 #2F5414 #145419
triadic
#2F5414 #142F54 #54142F
tetradic
#2F5414 #144F54 #391454 #541914
square
#2F5414 #144F54 #391454 #541914
split-complementary
#2F5414 #191454 #54144F
monochromatic
#0E1906 #132308 #2F5414 #4B8520 #66B72C

Accessibility & contrast

On white

8.75
#2F5414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F5414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5414
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5414#FFFFFF#000000##FFFFFF
##2F54141.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0A
Deuteranopia (green-blind)
#524A1A
Tritanopia (blue-blind)
#2E5147
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f5414;
/* rgb */ color: rgb(47, 84, 20);
/* oklch */ color: oklch(40.3% 0.101 134.8);
Tailwind
colors: {
  custom: {
    50: '#6b8456',
    500: '#2f5414',
    950: '#000000',
  },
}
SCSS
$custom: #2f5414;
$custom-light: #6b8456;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5414",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 20
  },
  "hsl": {
    "h": 94.688,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40346,
    "c": 0.10121,
    "h": 134.8
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#2F5414
secondary
#68388C
accent
#43E5A1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5414

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

Preview Lab → · Contrast checker → · Palette generator →

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