#2F3502#2F3502

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

Color values

HEX#2F3502
RGBrgb(47, 53, 2)
HSLhsl(67, 93%, 11%)
HSVhsv(67, 96%, 21%)
CMYKcmyk(11.3%, 0%, 96.2%, 79.2%)
CIE-LABlab(20.65, -10.16, 27.93)
CIE-LCHlch(20.65, 29.72, 110.00°)
OKLaboklab(31.25% -0.0313 0.0625)
OKLCHoklch(31.25% 0.07 116.6)
XYZxyz(2.4564, 3.1550, 0.5370)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3502 #080235
analogous
#352102 #2F3502 #153502
triadic
#2F3502 #022F35 #35022F
tetradic
#2F3502 #023521 #080235 #350215
square
#2F3502 #023521 #080235 #350215
split-complementary
#2F3502 #021535 #210235
monochromatic
#1A1D01 #1A1D01 #2F3502 #637004 #98AB06

Accessibility & contrast

On white

12.88
#2F3502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3502
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3502#FFFFFF#000000##FFFFFF
##2F35021.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#393206
Tritanopia (blue-blind)
#33312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3502;
/* rgb */ color: rgb(47, 53, 2);
/* oklch */ color: oklch(31.3% 0.070 116.6);
Tailwind
colors: {
  custom: {
    50: '#696c48',
    500: '#2f3502',
    950: '#000000',
  },
}
SCSS
$custom: #2f3502;
$custom-light: #696c48;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3502",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 2
  },
  "hsl": {
    "h": 67.059,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.31252,
    "c": 0.06984,
    "h": 116.6
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#2F3502
secondary
#251A79
accent
#29FF42
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3502

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

Preview Lab → · Contrast checker → · Palette generator →

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