#2F3507#2F3507

#2F3507 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.3% C 0.065 H 116.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#2F3507
RGBrgb(47, 53, 7)
HSLhsl(68, 77%, 12%)
HSVhsv(68, 87%, 21%)
CMYKcmyk(11.3%, 0%, 86.8%, 79.2%)
CIE-LABlab(20.70, -9.80, 25.94)
CIE-LCHlch(20.70, 27.73, 110.69°)
OKLaboklab(31.3% -0.0295 0.0583)
OKLCHoklch(31.3% 0.065 116.9)
XYZxyz(2.4838, 3.1659, 0.6812)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3507 #0D0735
analogous
#352407 #2F3507 #183507
triadic
#2F3507 #072F35 #35072F
tetradic
#2F3507 #073524 #0D0735 #350718
square
#2F3507 #073524 #0D0735 #350718
split-complementary
#2F3507 #071835 #240735
monochromatic
#181B04 #181B04 #2F3507 #5F6B0E #8FA115

Accessibility & contrast

On white

12.86
#2F3507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2F3507 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3507
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3507#FFFFFF#000000##FFFFFF
##2F35071.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393201
Deuteranopia (green-blind)
#39320B
Tritanopia (blue-blind)
#33312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3507;
/* rgb */ color: rgb(47, 53, 7);
/* oklch */ color: oklch(31.3% 0.065 116.9);
Tailwind
colors: {
  custom: {
    50: '#696c4b',
    500: '#2f3507',
    950: '#000000',
  },
}
SCSS
$custom: #2f3507;
$custom-light: #696c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3507",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 7
  },
  "hsl": {
    "h": 67.826,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.313,
    "c": 0.06539,
    "h": 116.9
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#2F3507
secondary
#2E2375
accent
#35F34D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3507

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

Preview Lab → · Contrast checker → · Palette generator →

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