#2F3E0C#2F3E0C

#2F3E0C is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.075 H 124.9°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2F3E0C
RGBrgb(47, 62, 12)
HSLhsl(78, 68%, 15%)
HSVhsv(78, 81%, 24%)
CMYKcmyk(24.2%, 0%, 80.6%, 75.7%)
CIE-LABlab(23.92, -14.74, 27.25)
CIE-LCHlch(23.92, 30.98, 118.42°)
OKLaboklab(33.91% -0.0426 0.0611)
OKLCHoklch(33.91% 0.075 124.9)
XYZxyz(2.9613, 4.0761, 0.9785)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E0C #1B0C3E
analogous
#3E340C #2F3E0C #163E0C
triadic
#2F3E0C #0C2F3E #3E0C2F
tetradic
#2F3E0C #0C3E34 #1B0C3E #3E0C16
square
#2F3E0C #0C3E34 #1B0C3E #3E0C16
split-complementary
#2F3E0C #0C163E #340C3E
monochromatic
#131A05 #131A05 #2F3E0C #567116 #7DA520

Accessibility & contrast

On white

11.57
#2F3E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F3E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E0C
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E0C#FFFFFF#000000##FFFFFF
##2F3E0C1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423905
Deuteranopia (green-blind)
#403910
Tritanopia (blue-blind)
#323B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f3e0c;
/* rgb */ color: rgb(47, 62, 12);
/* oklch */ color: oklch(33.9% 0.075 124.9);
Tailwind
colors: {
  custom: {
    50: '#69734e',
    500: '#2f3e0c',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e0c;
$custom-light: #69734e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e0c",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 12
  },
  "hsl": {
    "h": 78,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33913,
    "c": 0.07452,
    "h": 124.9
  },
  "luminance": 0.04076
}

Semantic roles & 50–950 ramp

primary
#2F3E0C
secondary
#432C7A
accent
#3DEA71
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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