#2F3103#2F3103

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

Color values

HEX#2F3103
RGBrgb(47, 49, 3)
HSLhsl(63, 88%, 10%)
HSVhsv(63, 94%, 19%)
CMYKcmyk(4.1%, 0%, 93.9%, 80.8%)
CIE-LABlab(19.26, -7.62, 25.94)
CIE-LCHlch(19.26, 27.04, 106.36°)
OKLaboklab(30.13% -0.0241 0.059)
OKLCHoklch(30.13% 0.064 112.2)
XYZxyz(2.2871, 2.8076, 0.5076)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3103 #050331
analogous
#311C03 #2F3103 #183103
triadic
#2F3103 #032F31 #31032F
tetradic
#2F3103 #03311C #050331 #310318
square
#2F3103 #03311C #050331 #310318
split-complementary
#2F3103 #031831 #1C0331
monochromatic
#1C1D02 #1C1D02 #2F3103 #666B07 #9EA40A

Accessibility & contrast

On white

13.45
#2F3103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3103
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3103#FFFFFF#000000##FFFFFF
##2F31031.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3103;
/* rgb */ color: rgb(47, 49, 3);
/* oklch */ color: oklch(30.1% 0.064 112.2);
Tailwind
colors: {
  custom: {
    50: '#696848',
    500: '#2f3103',
    950: '#000000',
  },
}
SCSS
$custom: #2f3103;
$custom-light: #696848;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3103",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 62.609,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.30133,
    "c": 0.06376,
    "h": 112.2
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#2F3103
secondary
#1F1B74
accent
#29FF32
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3103

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

Preview Lab → · Contrast checker → · Palette generator →

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