#2F3703#2F3703

#2F3703 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.8% C 0.072 H 118.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#2F3703
RGBrgb(47, 55, 3)
HSLhsl(69, 90%, 11%)
HSVhsv(69, 95%, 22%)
CMYKcmyk(14.5%, 0%, 94.5%, 78.4%)
CIE-LABlab(21.37, -11.29, 28.31)
CIE-LCHlch(21.37, 30.48, 111.75°)
OKLaboklab(31.83% -0.0342 0.0629)
OKLCHoklch(31.83% 0.072 118.5)
XYZxyz(2.5550, 3.3433, 0.5969)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3703 #0B0337
analogous
#372503 #2F3703 #153703
triadic
#2F3703 #032F37 #37032F
tetradic
#2F3703 #033725 #0B0337 #370315
square
#2F3703 #033725 #0B0337 #370315
split-complementary
#2F3703 #031537 #250337
monochromatic
#191D02 #191D02 #2F3703 #617106 #92AB09

Accessibility & contrast

On white

12.59
#2F3703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F3703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3703
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3703#FFFFFF#000000##FFFFFF
##2F37031.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#3B3307
Tritanopia (blue-blind)
#33332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f3703;
/* rgb */ color: rgb(47, 55, 3);
/* oklch */ color: oklch(31.8% 0.072 118.5);
Tailwind
colors: {
  custom: {
    50: '#696d49',
    500: '#2f3703',
    950: '#000000',
  },
}
SCSS
$custom: #2f3703;
$custom-light: #696d49;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3703",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 3
  },
  "hsl": {
    "h": 69.231,
    "s": 89.655,
    "l": 11.373
  },
  "oklch": {
    "l": 0.31831,
    "c": 0.0716,
    "h": 118.5
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#2F3703
secondary
#2A1C7A
accent
#29FF4A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3703

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

Preview Lab → · Contrast checker → · Palette generator →

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