#2F3E0B#2F3E0B

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

Color values

HEX#2F3E0B
RGBrgb(47, 62, 11)
HSLhsl(78, 70%, 14%)
HSVhsv(78, 82%, 24%)
CMYKcmyk(24.2%, 0%, 82.3%, 75.7%)
CIE-LABlab(23.91, -14.82, 27.68)
CIE-LCHlch(23.91, 31.40, 118.16°)
OKLaboklab(33.9% -0.0429 0.0619)
OKLCHoklch(33.9% 0.075 124.7)
XYZxyz(2.9553, 4.0737, 0.9472)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E0B #1A0B3E
analogous
#3E340B #2F3E0B #163E0B
triadic
#2F3E0B #0B2F3E #3E0B2F
tetradic
#2F3E0B #0B3E34 #1A0B3E #3E0B16
square
#2F3E0B #0B3E34 #1A0B3E #3E0B16
split-complementary
#2F3E0B #0B163E #340B3E
monochromatic
#141A05 #141A05 #2F3E0B #567214 #7EA61D

Accessibility & contrast

On white

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

On black

1.81
#2F3E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F3E0B#FFFFFF#000000##FFFFFF
##2F3E0B1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423904
Deuteranopia (green-blind)
#40390F
Tritanopia (blue-blind)
#323B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f3e0b;
/* rgb */ color: rgb(47, 62, 11);
/* oklch */ color: oklch(33.9% 0.075 124.7);
Tailwind
colors: {
  custom: {
    50: '#69734e',
    500: '#2f3e0b',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e0b;
$custom-light: #69734e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e0b",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 11
  },
  "hsl": {
    "h": 77.647,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33904,
    "c": 0.07529,
    "h": 124.7
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#2F3E0B
secondary
#422A7B
accent
#3BED6F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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