#2A3101#2A3101

#2A3101 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.6% C 0.068 H 118.1°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#2A3101
RGBrgb(42, 49, 1)
HSLhsl(69, 96%, 10%)
HSVhsv(69, 98%, 19%)
CMYKcmyk(14.3%, 0%, 98%, 80.8%)
CIE-LABlab(18.76, -10.46, 26.06)
CIE-LCHlch(18.76, 28.08, 111.87°)
OKLaboklab(29.61% -0.0319 0.0599)
OKLCHoklch(29.61% 0.068 118.1)
XYZxyz(2.0587, 2.6911, 0.4397)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3101 #080131
analogous
#312001 #2A3101 #123101
triadic
#2A3101 #012A31 #31012A
tetradic
#2A3101 #013120 #080131 #310112
square
#2A3101 #013120 #080131 #310112
split-complementary
#2A3101 #011231 #200131
monochromatic
#1A1E01 #1A1E01 #2A3101 #5D6D02 #91A903

Accessibility & contrast

On white

13.65
#2A3101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3101
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3101#FFFFFF#000000##FFFFFF
##2A31011.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#342E04
Tritanopia (blue-blind)
#2D2E28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a3101;
/* rgb */ color: rgb(42, 49, 1);
/* oklch */ color: oklch(29.6% 0.068 118.1);
Tailwind
colors: {
  custom: {
    50: '#656947',
    500: '#2a3101',
    950: '#000000',
  },
}
SCSS
$custom: #2a3101;
$custom-light: #656947;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3101",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 1
  },
  "hsl": {
    "h": 68.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29611,
    "c": 0.06787,
    "h": 118.1
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#2A3101
secondary
#251777
accent
#29FF48
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A3101

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

Preview Lab → · Contrast checker → · Palette generator →

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