#2F5919#2F5919

#2F5919 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.105 H 136.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2F5919
RGBrgb(47, 89, 25)
HSLhsl(99, 56%, 22%)
HSVhsv(99, 72%, 35%)
CMYKcmyk(47.2%, 0%, 71.9%, 65.1%)
CIE-LABlab(33.60, -27.46, 31.30)
CIE-LCHlch(33.60, 41.64, 131.26°)
OKLaboklab(41.84% -0.0761 0.0717)
OKLCHoklch(41.84% 0.105 136.7)
XYZxyz(4.9200, 7.8190, 2.1695)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5919 #431959
analogous
#4F5919 #2F5919 #195923
triadic
#2F5919 #192F59 #59192F
tetradic
#2F5919 #194F59 #431959 #592319
square
#2F5919 #194F59 #431959 #592319
split-complementary
#2F5919 #231959 #59194F
monochromatic
#0D1807 #16290C #2F5919 #488926 #61B934

Accessibility & contrast

On white

8.19
#2F5919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2F5919 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5919
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5919#FFFFFF#000000##FFFFFF
##2F59191.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5110
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#2D564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f5919;
/* rgb */ color: rgb(47, 89, 25);
/* oklch */ color: oklch(41.8% 0.105 136.7);
Tailwind
colors: {
  custom: {
    50: '#6c8859',
    500: '#2f5919',
    950: '#000000',
  },
}
SCSS
$custom: #2f5919;
$custom-light: #6c8859;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5919",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 25
  },
  "hsl": {
    "h": 99.375,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41839,
    "c": 0.10459,
    "h": 136.7
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#2F5919
secondary
#743E8F
accent
#48DFAC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F5919

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

Preview Lab → · Contrast checker → · Palette generator →

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