#2E3001#2E3001

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

Color values

HEX#2E3001
RGBrgb(46, 48, 1)
HSLhsl(63, 96%, 10%)
HSVhsv(63, 98%, 19%)
CMYKcmyk(4.2%, 0%, 97.9%, 81.2%)
CIE-LABlab(18.79, -7.68, 26.18)
CIE-LCHlch(18.79, 27.29, 106.35°)
OKLaboklab(29.73% -0.0246 0.06)
OKLCHoklch(29.73% 0.065 112.3)
XYZxyz(2.1892, 2.6970, 0.4340)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3001 #030130
analogous
#301B01 #2E3001 #173001
triadic
#2E3001 #012E30 #30012E
tetradic
#2E3001 #01301B #030130 #300117
square
#2E3001 #01301B #030130 #300117
split-complementary
#2E3001 #011730 #1B0130
monochromatic
#1D1E01 #1D1E01 #2E3001 #676C02 #A1A803

Accessibility & contrast

On white

13.64
#2E3001 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3001
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3001#FFFFFF#000000##FFFFFF
##2E30011.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3001;
/* rgb */ color: rgb(46, 48, 1);
/* oklch */ color: oklch(29.7% 0.065 112.3);
Tailwind
colors: {
  custom: {
    50: '#686847',
    500: '#2e3001',
    950: '#000000',
  },
}
SCSS
$custom: #2e3001;
$custom-light: #686847;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3001",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 1
  },
  "hsl": {
    "h": 62.553,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.29727,
    "c": 0.06488,
    "h": 112.3
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3001

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

Preview Lab → · Contrast checker → · Palette generator →

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