#2F3110#2F3110

#2F3110 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.3% C 0.051 H 112.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#2F3110
RGBrgb(47, 49, 16)
HSLhsl(64, 51%, 13%)
HSVhsv(64, 67%, 19%)
CMYKcmyk(4.1%, 0%, 67.3%, 80.8%)
CIE-LABlab(19.38, -6.57, 20.36)
CIE-LCHlch(19.38, 21.39, 107.88°)
OKLaboklab(30.28% -0.0193 0.0473)
OKLCHoklch(30.28% 0.051 112.3)
XYZxyz(2.3642, 2.8384, 0.9134)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3110 #121031
analogous
#312210 #2F3110 #1E3110
triadic
#2F3110 #102F31 #31102F
tetradic
#2F3110 #103122 #121031 #31101E
square
#2F3110 #103122 #121031 #31101E
split-complementary
#2F3110 #101E31 #221031
monochromatic
#161708 #161708 #2F3110 #5B5F1F #888D2E

Accessibility & contrast

On white

13.40
#2F3110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2F3110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3110
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3110#FFFFFF#000000##FFFFFF
##2F31101.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0D
Deuteranopia (green-blind)
#352F12
Tritanopia (blue-blind)
#322E2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f3110;
/* rgb */ color: rgb(47, 49, 16);
/* oklch */ color: oklch(30.3% 0.051 112.3);
Tailwind
colors: {
  custom: {
    50: '#69684f',
    500: '#2f3110',
    950: '#000000',
  },
}
SCSS
$custom: #2f3110;
$custom-light: #69684f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3110",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 16
  },
  "hsl": {
    "h": 63.636,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30277,
    "c": 0.05109,
    "h": 112.3
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#2F3110
secondary
#36336A
accent
#4EDA56
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3110

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

Preview Lab → · Contrast checker → · Palette generator →

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