#2B3005#2B3005

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

Color values

HEX#2B3005
RGBrgb(43, 48, 5)
HSLhsl(67, 81%, 10%)
HSVhsv(67, 90%, 19%)
CMYKcmyk(10.4%, 0%, 89.6%, 81.2%)
CIE-LABlab(18.53, -8.98, 24.19)
CIE-LCHlch(18.53, 25.80, 110.37°)
OKLaboklab(29.46% -0.0273 0.0557)
OKLCHoklch(29.46% 0.062 116.1)
XYZxyz(2.0807, 2.6385, 0.5432)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3005 #0A0530
analogous
#301F05 #2B3005 #153005
triadic
#2B3005 #052B30 #30052B
tetradic
#2B3005 #05301F #0A0530 #300515
square
#2B3005 #05301F #0A0530 #300515
split-complementary
#2B3005 #051530 #1F0530
monochromatic
#191C03 #191C03 #2B3005 #5D670B #8E9F11

Accessibility & contrast

On white

13.75
#2B3005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2B3005 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3005
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3005#FFFFFF#000000##FFFFFF
##2B30051.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3005;
/* rgb */ color: rgb(43, 48, 5);
/* oklch */ color: oklch(29.5% 0.062 116.1);
Tailwind
colors: {
  custom: {
    50: '#666849',
    500: '#2b3005',
    950: '#000000',
  },
}
SCSS
$custom: #2b3005;
$custom-light: #666849;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3005",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 5
  },
  "hsl": {
    "h": 66.977,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29463,
    "c": 0.06201,
    "h": 116.1
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#2B3005
secondary
#291F72
accent
#30F847
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3005

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

Preview Lab → · Contrast checker → · Palette generator →

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