#2A3001#2A3001

#2A3001 is a dark, moderate yellow. Relative luminance 0.026; OKLCH L 29.3% C 0.067 H 117.1°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#2A3001
RGBrgb(42, 48, 1)
HSLhsl(68, 96%, 10%)
HSVhsv(68, 98%, 19%)
CMYKcmyk(12.5%, 0%, 97.9%, 81.2%)
CIE-LABlab(18.40, -9.85, 25.64)
CIE-LCHlch(18.40, 27.46, 111.02°)
OKLaboklab(29.32% -0.0303 0.0593)
OKLCHoklch(29.32% 0.067 117.1)
XYZxyz(2.0173, 2.6084, 0.4259)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3001 #070130
analogous
#301F01 #2A3001 #123001
triadic
#2A3001 #012A30 #30012A
tetradic
#2A3001 #01301F #070130 #300112
square
#2A3001 #01301F #070130 #300112
split-complementary
#2A3001 #011230 #1F0130
monochromatic
#1A1E01 #1A1E01 #2A3001 #5E6C02 #93A803

Accessibility & contrast

On white

13.80
#2A3001 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2A3001 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3001
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3001#FFFFFF#000000##FFFFFF
##2A30011.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#342D04
Tritanopia (blue-blind)
#2D2D27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a3001;
/* rgb */ color: rgb(42, 48, 1);
/* oklch */ color: oklch(29.3% 0.067 117.1);
Tailwind
colors: {
  custom: {
    50: '#656847',
    500: '#2a3001',
    950: '#000000',
  },
}
SCSS
$custom: #2a3001;
$custom-light: #656847;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3001",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 1
  },
  "hsl": {
    "h": 67.66,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.29322,
    "c": 0.06654,
    "h": 117.1
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#2A3001
secondary
#231776
accent
#29FF44
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A3001

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

Preview Lab → · Contrast checker → · Palette generator →

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