#2F3903#2F3903

#2F3903 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.074 H 120.3°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#2F3903
RGBrgb(47, 57, 3)
HSLhsl(71, 90%, 12%)
HSVhsv(71, 95%, 22%)
CMYKcmyk(17.5%, 0%, 94.7%, 77.6%)
CIE-LABlab(22.08, -12.48, 29.07)
CIE-LCHlch(22.08, 31.63, 113.24°)
OKLaboklab(32.4% -0.0374 0.0642)
OKLCHoklch(32.4% 0.074 120.3)
XYZxyz(2.6519, 3.5372, 0.6292)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3903 #0D0339
analogous
#392803 #2F3903 #143903
triadic
#2F3903 #032F39 #39032F
tetradic
#2F3903 #033928 #0D0339 #390314
square
#2F3903 #033928 #0D0339 #390314
split-complementary
#2F3903 #031439 #280339
monochromatic
#181D02 #181D02 #2F3903 #5F7306 #8FAD09

Accessibility & contrast

On white

12.30
#2F3903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F3903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3903
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3903#FFFFFF#000000##FFFFFF
##2F39031.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3C3508
Tritanopia (blue-blind)
#32352F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f3903;
/* rgb */ color: rgb(47, 57, 3);
/* oklch */ color: oklch(32.4% 0.074 120.3);
Tailwind
colors: {
  custom: {
    50: '#6a6f49',
    500: '#2f3903',
    950: '#000000',
  },
}
SCSS
$custom: #2f3903;
$custom-light: #6a6f49;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3903",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 3
  },
  "hsl": {
    "h": 71.111,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.32402,
    "c": 0.07431,
    "h": 120.3
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#2F3903
secondary
#2E1C7C
accent
#29FF50
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #2F3903

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

Preview Lab → · Contrast checker → · Palette generator →

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