#2A3005#2A3005

#2A3005 is a dark, moderate yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.062 H 117.4°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#2A3005
RGBrgb(42, 48, 5)
HSLhsl(68, 81%, 10%)
HSVhsv(68, 90%, 19%)
CMYKcmyk(12.5%, 0%, 89.6%, 81.2%)
CIE-LABlab(18.44, -9.51, 24.05)
CIE-LCHlch(18.44, 25.86, 111.58°)
OKLaboklab(29.37% -0.0287 0.0555)
OKLCHoklch(29.37% 0.062 117.4)
XYZxyz(2.0392, 2.6171, 0.5413)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3005 #0B0530
analogous
#302005 #2A3005 #143005
triadic
#2A3005 #052A30 #30052A
tetradic
#2A3005 #053020 #0B0530 #300514
square
#2A3005 #053020 #0B0530 #300514
split-complementary
#2A3005 #051430 #200530
monochromatic
#181C03 #181C03 #2A3005 #5A670B #8B9F11

Accessibility & contrast

On white

13.78
#2A3005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3005
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3005#FFFFFF#000000##FFFFFF
##2A30051.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#332D08
Tritanopia (blue-blind)
#2D2D28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a3005;
/* rgb */ color: rgb(42, 48, 5);
/* oklch */ color: oklch(29.4% 0.062 117.4);
Tailwind
colors: {
  custom: {
    50: '#656849',
    500: '#2a3005',
    950: '#000000',
  },
}
SCSS
$custom: #2a3005;
$custom-light: #656849;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3005",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 5
  },
  "hsl": {
    "h": 68.372,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29365,
    "c": 0.06245,
    "h": 117.4
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#2A3005
secondary
#2B1F72
accent
#30F84C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3005

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

Preview Lab → · Contrast checker → · Palette generator →

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