#2F3101#2F3101

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

Color values

HEX#2F3101
RGBrgb(47, 49, 1)
HSLhsl(63, 96%, 10%)
HSVhsv(63, 98%, 19%)
CMYKcmyk(4.1%, 0%, 98%, 80.8%)
CIE-LABlab(19.24, -7.77, 26.73)
CIE-LCHlch(19.24, 27.84, 106.20°)
OKLaboklab(30.11% -0.0249 0.0609)
OKLCHoklch(30.11% 0.066 112.2)
XYZxyz(2.2762, 2.8032, 0.4499)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3101 #030131
analogous
#311B01 #2F3101 #173101
triadic
#2F3101 #012F31 #31012F
tetradic
#2F3101 #01311B #030131 #310117
square
#2F3101 #01311B #030131 #310117
split-complementary
#2F3101 #011731 #1B0131
monochromatic
#1D1E01 #1D1E01 #2F3101 #696D02 #A2A903

Accessibility & contrast

On white

13.46
#2F3101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3101
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3101#FFFFFF#000000##FFFFFF
##2F31011.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3101;
/* rgb */ color: rgb(47, 49, 1);
/* oklch */ color: oklch(30.1% 0.066 112.2);
Tailwind
colors: {
  custom: {
    50: '#696848',
    500: '#2f3101',
    950: '#000000',
  },
}
SCSS
$custom: #2f3101;
$custom-light: #696848;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3101",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 1
  },
  "hsl": {
    "h": 62.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.30112,
    "c": 0.06573,
    "h": 112.2
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#2F3101
secondary
#1B1777
accent
#29FF32
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2F3101

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

Preview Lab → · Contrast checker → · Palette generator →

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