#2F3307#2F3307

#2F3307 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.7% C 0.063 H 114.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#2F3307
RGBrgb(47, 51, 7)
HSLhsl(65, 76%, 11%)
HSVhsv(65, 86%, 20%)
CMYKcmyk(7.8%, 0%, 86.3%, 80%)
CIE-LABlab(19.99, -8.57, 25.15)
CIE-LCHlch(19.99, 26.57, 108.81°)
OKLaboklab(30.74% -0.0261 0.0569)
OKLCHoklch(30.74% 0.063 114.7)
XYZxyz(2.3945, 2.9874, 0.6515)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3307 #0B0733
analogous
#332107 #2F3307 #193307
triadic
#2F3307 #072F33 #33072F
tetradic
#2F3307 #073321 #0B0733 #330719
square
#2F3307 #073321 #0B0733 #330719
split-complementary
#2F3307 #071933 #210733
monochromatic
#191B04 #191B04 #2F3307 #61690E #929F16

Accessibility & contrast

On white

13.15
#2F3307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2F3307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3307
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3307#FFFFFF#000000##FFFFFF
##2F33071.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373002
Deuteranopia (green-blind)
#37310A
Tritanopia (blue-blind)
#332F2B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f3307;
/* rgb */ color: rgb(47, 51, 7);
/* oklch */ color: oklch(30.7% 0.063 114.7);
Tailwind
colors: {
  custom: {
    50: '#696a4b',
    500: '#2f3307',
    950: '#000000',
  },
}
SCSS
$custom: #2f3307;
$custom-light: #696a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3307",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 65.455,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.30735,
    "c": 0.06264,
    "h": 114.7
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#2F3307
secondary
#2A2373
accent
#35F247
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3307

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

Preview Lab → · Contrast checker → · Palette generator →

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