#2F4618#2F4618

#2F4618 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.3% C 0.076 H 131.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2F4618
RGBrgb(47, 70, 24)
HSLhsl(90, 49%, 18%)
HSVhsv(90, 66%, 27%)
CMYKcmyk(32.9%, 0%, 65.7%, 72.5%)
CIE-LABlab(26.88, -18.04, 24.41)
CIE-LCHlch(26.88, 30.35, 126.47°)
OKLaboklab(36.35% -0.0504 0.057)
OKLCHoklch(36.35% 0.076 131.5)
XYZxyz(3.5273, 5.0505, 1.6530)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4618 #2F1846
analogous
#464618 #2F4618 #184618
triadic
#2F4618 #182F46 #46182F
tetradic
#2F4618 #184646 #2F1846 #461818
square
#2F4618 #184646 #2F1846 #461818
split-complementary
#2F4618 #181846 #461846
monochromatic
#0F1708 #101808 #2F4618 #4E7428 #6CA137

Accessibility & contrast

On white

10.45
#2F4618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F4618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4618
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4618#FFFFFF#000000##FFFFFF
##2F46181.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494113
Deuteranopia (green-blind)
#463F1B
Tritanopia (blue-blind)
#30433C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f4618;
/* rgb */ color: rgb(47, 70, 24);
/* oklch */ color: oklch(36.3% 0.076 131.5);
Tailwind
colors: {
  custom: {
    50: '#697957',
    500: '#2f4618',
    950: '#000000',
  },
}
SCSS
$custom: #2f4618;
$custom-light: #697957;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4618",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 24
  },
  "hsl": {
    "h": 90,
    "s": 48.936,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36348,
    "c": 0.0761,
    "h": 131.5
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#2F4618
secondary
#5D3D7D
accent
#4FD894
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4618

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

Preview Lab → · Contrast checker → · Palette generator →

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