#2F3B0F#2F3B0F

#2F3B0F is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.067 H 123.2°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2F3B0F
RGBrgb(47, 59, 15)
HSLhsl(76, 59%, 15%)
HSVhsv(76, 75%, 23%)
CMYKcmyk(20.3%, 0%, 74.6%, 76.9%)
CIE-LABlab(22.88, -12.77, 24.74)
CIE-LCHlch(22.88, 27.84, 117.30°)
OKLaboklab(33.08% -0.0368 0.0564)
OKLCHoklch(33.08% 0.067 123.2)
XYZxyz(2.8225, 3.7667, 1.0302)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B0F #1B0F3B
analogous
#3B310F #2F3B0F #193B0F
triadic
#2F3B0F #0F2F3B #3B0F2F
tetradic
#2F3B0F #0F3B31 #1B0F3B #3B0F19
square
#2F3B0F #0F3B31 #1B0F3B #3B0F19
split-complementary
#2F3B0F #0F193B #310F3B
monochromatic
#131806 #131806 #2F3B0F #566C1B #7D9D28

Accessibility & contrast

On white

11.98
#2F3B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2F3B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3B0F
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B0F#FFFFFF#000000##FFFFFF
##2F3B0F1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3709
Deuteranopia (green-blind)
#3D3712
Tritanopia (blue-blind)
#323832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3b0f;
/* rgb */ color: rgb(47, 59, 15);
/* oklch */ color: oklch(33.1% 0.067 123.2);
Tailwind
colors: {
  custom: {
    50: '#697150',
    500: '#2f3b0f',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b0f;
$custom-light: #697150;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b0f",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 15
  },
  "hsl": {
    "h": 76.364,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33084,
    "c": 0.06737,
    "h": 123.2
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#2F3B0F
secondary
#433075
accent
#45E370
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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