#2B3004#2B3004

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

Color values

HEX#2B3004
RGBrgb(43, 48, 4)
HSLhsl(67, 85%, 10%)
HSVhsv(67, 92%, 19%)
CMYKcmyk(10.4%, 0%, 91.7%, 81.2%)
CIE-LABlab(18.52, -9.06, 24.58)
CIE-LCHlch(18.52, 26.20, 110.24°)
OKLaboklab(29.45% -0.0277 0.0566)
OKLCHoklch(29.45% 0.063 116.1)
XYZxyz(2.0752, 2.6363, 0.5144)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3004 #090430
analogous
#301F04 #2B3004 #153004
triadic
#2B3004 #042B30 #30042B
tetradic
#2B3004 #04301F #090430 #300415
square
#2B3004 #04301F #090430 #300415
split-complementary
#2B3004 #041530 #1F0430
monochromatic
#191C02 #191C02 #2B3004 #5E6809 #90A10D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3004#FFFFFF#000000##FFFFFF
##2B30041.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)
#342D07
Tritanopia (blue-blind)
#2E2D28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b3004;
/* rgb */ color: rgb(43, 48, 4);
/* oklch */ color: oklch(29.5% 0.063 116.1);
Tailwind
colors: {
  custom: {
    50: '#666849',
    500: '#2b3004',
    950: '#000000',
  },
}
SCSS
$custom: #2b3004;
$custom-light: #666849;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3004",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 4
  },
  "hsl": {
    "h": 66.818,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29452,
    "c": 0.06301,
    "h": 116.1
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#2B3004
secondary
#271D72
accent
#2DFB44
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3004

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

Preview Lab → · Contrast checker → · Palette generator →

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