#2F3105#2F3105

#2F3105 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.062 H 112.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#2F3105
RGBrgb(47, 49, 5)
HSLhsl(63, 81%, 11%)
HSVhsv(63, 90%, 19%)
CMYKcmyk(4.1%, 0%, 89.8%, 80.8%)
CIE-LABlab(19.27, -7.46, 25.15)
CIE-LCHlch(19.27, 26.23, 106.53°)
OKLaboklab(30.15% -0.0234 0.0572)
OKLCHoklch(30.15% 0.062 112.2)
XYZxyz(2.2981, 2.8120, 0.5653)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3105 #070531
analogous
#311D05 #2F3105 #193105
triadic
#2F3105 #052F31 #31052F
tetradic
#2F3105 #05311D #070531 #310519
square
#2F3105 #05311D #070531 #310519
split-complementary
#2F3105 #051931 #1D0531
monochromatic
#1B1C03 #1B1C03 #2F3105 #64690B #9AA010

Accessibility & contrast

On white

13.44
#2F3105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2F3105 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3105
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3105#FFFFFF#000000##FFFFFF
##2F31051.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#362F08
Tritanopia (blue-blind)
#332D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f3105;
/* rgb */ color: rgb(47, 49, 5);
/* oklch */ color: oklch(30.2% 0.062 112.2);
Tailwind
colors: {
  custom: {
    50: '#696849',
    500: '#2f3105',
    950: '#000000',
  },
}
SCSS
$custom: #2f3105;
$custom-light: #696849;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3105",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 5
  },
  "hsl": {
    "h": 62.727,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30153,
    "c": 0.06182,
    "h": 112.2
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#2F3105
secondary
#231F72
accent
#30F839
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3105

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

Preview Lab → · Contrast checker → · Palette generator →

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