#2A3103#2A3103

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

Color values

HEX#2A3103
RGBrgb(42, 49, 3)
HSLhsl(69, 88%, 10%)
HSVhsv(69, 94%, 19%)
CMYKcmyk(14.3%, 0%, 93.9%, 80.8%)
CIE-LABlab(18.78, -10.29, 25.27)
CIE-LCHlch(18.78, 27.28, 112.17°)
OKLaboklab(29.63% -0.0312 0.058)
OKLCHoklch(29.63% 0.066 118.2)
XYZxyz(2.0696, 2.6955, 0.4974)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3103 #0A0331
analogous
#312103 #2A3103 #133103
triadic
#2A3103 #032A31 #31032A
tetradic
#2A3103 #033121 #0A0331 #310313
square
#2A3103 #033121 #0A0331 #310313
split-complementary
#2A3103 #031331 #210331
monochromatic
#191D02 #191D02 #2A3103 #5B6B07 #8DA40A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3103#FFFFFF#000000##FFFFFF
##2A31031.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)
#342E06
Tritanopia (blue-blind)
#2D2E28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a3103;
/* rgb */ color: rgb(42, 49, 3);
/* oklch */ color: oklch(29.6% 0.066 118.2);
Tailwind
colors: {
  custom: {
    50: '#656948',
    500: '#2a3103',
    950: '#000000',
  },
}
SCSS
$custom: #2a3103;
$custom-light: #656948;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3103",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 69.13,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29632,
    "c": 0.06584,
    "h": 118.2
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#2A3103
secondary
#291B74
accent
#29FF4A
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3103

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

Preview Lab → · Contrast checker → · Palette generator →

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