#2A330E#2A330E

#2A330E is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.058 H 121.5°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#2A330E
RGBrgb(42, 51, 14)
HSLhsl(75, 57%, 13%)
HSVhsv(75, 73%, 20%)
CMYKcmyk(17.6%, 0%, 72.5%, 80%)
CIE-LABlab(19.60, -10.59, 21.55)
CIE-LCHlch(19.60, 24.01, 116.16°)
OKLaboklab(30.33% -0.0305 0.0497)
OKLCHoklch(30.33% 0.058 121.5)
XYZxyz(2.2180, 2.8916, 0.8567)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A330E #170E33
analogous
#33290E #2A330E #17330E
triadic
#2A330E #0E2A33 #330E2A
tetradic
#2A330E #0E3329 #170E33 #330E17
square
#2A330E #0E3329 #170E33 #330E17
split-complementary
#2A330E #0E1733 #290E33
monochromatic
#141807 #141807 #2A330E #52631B #799328

Accessibility & contrast

On white

13.30
#2A330E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2A330E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A330E
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A330E#FFFFFF#000000##FFFFFF
##2A330E1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36300A
Deuteranopia (green-blind)
#352F11
Tritanopia (blue-blind)
#2D302B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a330e;
/* rgb */ color: rgb(42, 51, 14);
/* oklch */ color: oklch(30.3% 0.058 121.5);
Tailwind
colors: {
  custom: {
    50: '#656a4e',
    500: '#2a330e',
    950: '#000000',
  },
}
SCSS
$custom: #2a330e;
$custom-light: #656a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a330e",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 14
  },
  "hsl": {
    "h": 74.595,
    "s": 56.923,
    "l": 12.745
  },
  "oklch": {
    "l": 0.3033,
    "c": 0.05835,
    "h": 121.5
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#2A330E
secondary
#3E2F6E
accent
#48E06D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #2A330E

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

Preview Lab → · Contrast checker → · Palette generator →

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