#2F3F0B#2F3F0B

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

Color values

HEX#2F3F0B
RGBrgb(47, 63, 11)
HSLhsl(78, 70%, 15%)
HSVhsv(78, 83%, 25%)
CMYKcmyk(25.4%, 0%, 82.5%, 75.3%)
CIE-LABlab(24.27, -15.38, 28.03)
CIE-LCHlch(24.27, 31.98, 118.75°)
OKLaboklab(34.19% -0.0445 0.0626)
OKLCHoklch(34.19% 0.077 125.4)
XYZxyz(3.0102, 4.1835, 0.9654)
Luminance0.0418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F0B #1B0B3F
analogous
#3F350B #2F3F0B #153F0B
triadic
#2F3F0B #0B2F3F #3F0B2F
tetradic
#2F3F0B #0B3F35 #1B0B3F #3F0B15
square
#2F3F0B #0B3F35 #1B0B3F #3F0B15
split-complementary
#2F3F0B #0B153F #350B3F
monochromatic
#131A05 #131A05 #2F3F0B #567314 #7DA71D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3F0B#FFFFFF#000000##FFFFFF
##2F3F0B1.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)
#433A03
Deuteranopia (green-blind)
#413910
Tritanopia (blue-blind)
#313C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f0b;
/* rgb */ color: rgb(47, 63, 11);
/* oklch */ color: oklch(34.2% 0.077 125.4);
Tailwind
colors: {
  custom: {
    50: '#6a744e',
    500: '#2f3f0b',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f0b;
$custom-light: #6a744e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f0b",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 78.462,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34192,
    "c": 0.07678,
    "h": 125.4
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

primary
#2F3F0B
secondary
#432A7C
accent
#3BED72
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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