#2F3001#2F3001

#2F3001 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.065 H 111.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#2F3001
RGBrgb(47, 48, 1)
HSLhsl(61, 96%, 10%)
HSVhsv(61, 98%, 19%)
CMYKcmyk(2.1%, 0%, 97.9%, 81.2%)
CIE-LABlab(18.89, -7.14, 26.33)
CIE-LCHlch(18.89, 27.28, 105.17°)
OKLaboklab(29.83% -0.0231 0.0602)
OKLCHoklch(29.83% 0.065 111)
XYZxyz(2.2348, 2.7205, 0.4361)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3001 #020130
analogous
#301A01 #2F3001 #183001
triadic
#2F3001 #012F30 #30012F
tetradic
#2F3001 #01301A #020130 #300118
square
#2F3001 #01301A #020130 #300118
split-complementary
#2F3001 #011830 #1A0130
monochromatic
#1D1E01 #1D1E01 #2F3001 #6A6C02 #A4A803

Accessibility & contrast

On white

13.60
#2F3001 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2F3001 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3001
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3001#FFFFFF#000000##FFFFFF
##2F30011.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#352E04
Tritanopia (blue-blind)
#332C27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f3001;
/* rgb */ color: rgb(47, 48, 1);
/* oklch */ color: oklch(29.8% 0.065 111.0);
Tailwind
colors: {
  custom: {
    50: '#696847',
    500: '#2f3001',
    950: '#000000',
  },
}
SCSS
$custom: #2f3001;
$custom-light: #696847;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3001",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 1
  },
  "hsl": {
    "h": 61.277,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.29832,
    "c": 0.06453,
    "h": 111
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#2F3001
secondary
#191776
accent
#29FF2D
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2F3001

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

Preview Lab → · Contrast checker → · Palette generator →

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