#2F3F10#2F3F10

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

Color values

HEX#2F3F10
RGBrgb(47, 63, 16)
HSLhsl(80, 59%, 15%)
HSVhsv(80, 75%, 25%)
CMYKcmyk(25.4%, 0%, 74.6%, 75.3%)
CIE-LABlab(24.31, -14.98, 25.75)
CIE-LCHlch(24.31, 29.79, 120.19°)
OKLaboklab(34.24% -0.0428 0.0587)
OKLCHoklch(34.24% 0.073 126.1)
XYZxyz(3.0433, 4.1967, 1.1398)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F10 #20103F
analogous
#3F3710 #2F3F10 #173F10
triadic
#2F3F10 #102F3F #3F102F
tetradic
#2F3F10 #103F37 #20103F #3F1017
square
#2F3F10 #103F37 #20103F #3F1017
split-complementary
#2F3F10 #10173F #37103F
monochromatic
#121806 #121806 #2F3F10 #53701C #78A129

Accessibility & contrast

On white

11.42
#2F3F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3F10
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F10#FFFFFF#000000##FFFFFF
##2F3F101.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A0A
Deuteranopia (green-blind)
#403A14
Tritanopia (blue-blind)
#313C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f10;
/* rgb */ color: rgb(47, 63, 16);
/* oklch */ color: oklch(34.2% 0.073 126.1);
Tailwind
colors: {
  custom: {
    50: '#697451',
    500: '#2f3f10',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f10;
$custom-light: #697451;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f10",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 16
  },
  "hsl": {
    "h": 80.426,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3424,
    "c": 0.07266,
    "h": 126.1
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#2F3F10
secondary
#4A3279
accent
#45E37B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3F10

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

Preview Lab → · Contrast checker → · Palette generator →

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