#2F3F0D#2F3F0D

#2F3F0D is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.075 H 125.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2F3F0D
RGBrgb(47, 63, 13)
HSLhsl(79, 66%, 15%)
HSVhsv(79, 79%, 25%)
CMYKcmyk(25.4%, 0%, 79.4%, 75.3%)
CIE-LABlab(24.28, -15.23, 27.16)
CIE-LCHlch(24.28, 31.14, 119.29°)
OKLaboklab(34.21% -0.0438 0.0611)
OKLCHoklch(34.21% 0.075 125.7)
XYZxyz(3.0225, 4.1884, 1.0299)
Luminance0.0419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F0D #1D0D3F
analogous
#3F360D #2F3F0D #163F0D
triadic
#2F3F0D #0D2F3F #3F0D2F
tetradic
#2F3F0D #0D3F36 #1D0D3F #3F0D16
square
#2F3F0D #0D3F36 #1D0D3F #3F0D16
split-complementary
#2F3F0D #0D163F #360D3F
monochromatic
#131905 #131905 #2F3F0D #557217 #7BA422

Accessibility & contrast

On white

11.43
#2F3F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F3F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3F0D
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F0D#FFFFFF#000000##FFFFFF
##2F3F0D1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A06
Deuteranopia (green-blind)
#413911
Tritanopia (blue-blind)
#313C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f0d;
/* rgb */ color: rgb(47, 63, 13);
/* oklch */ color: oklch(34.2% 0.075 125.7);
Tailwind
colors: {
  custom: {
    50: '#69744f',
    500: '#2f3f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f0d;
$custom-light: #69744f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f0d",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 13
  },
  "hsl": {
    "h": 79.2,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3421,
    "c": 0.07523,
    "h": 125.7
  },
  "luminance": 0.04188
}

Semantic roles & 50–950 ramp

primary
#2F3F0D
secondary
#462D7B
accent
#3FE975
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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