#2A330F#2A330F

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

Color values

HEX#2A330F
RGBrgb(42, 51, 15)
HSLhsl(75, 55%, 13%)
HSVhsv(75, 71%, 20%)
CMYKcmyk(17.6%, 0%, 70.6%, 80%)
CIE-LABlab(19.62, -10.49, 21.04)
CIE-LCHlch(19.62, 23.51, 116.49°)
OKLaboklab(30.34% -0.0301 0.0487)
OKLCHoklch(30.34% 0.057 121.7)
XYZxyz(2.2249, 2.8944, 0.8933)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A330F #180F33
analogous
#332A0F #2A330F #18330F
triadic
#2A330F #0F2A33 #330F2A
tetradic
#2A330F #0F332A #180F33 #330F18
square
#2A330F #0F332A #180F33 #330F18
split-complementary
#2A330F #0F1833 #2A0F33
monochromatic
#131807 #131807 #2A330F #51621D #78922B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A330F#FFFFFF#000000##FFFFFF
##2A330F1.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)
#36300B
Deuteranopia (green-blind)
#352F11
Tritanopia (blue-blind)
#2C302B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a330f;
/* rgb */ color: rgb(42, 51, 15);
/* oklch */ color: oklch(30.3% 0.057 121.7);
Tailwind
colors: {
  custom: {
    50: '#656a4f',
    500: '#2a330f',
    950: '#000000',
  },
}
SCSS
$custom: #2a330f;
$custom-light: #656a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a330f",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 75,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30342,
    "c": 0.0573,
    "h": 121.7
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#2A330F
secondary
#40316D
accent
#4ADE6F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A330F

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

Preview Lab → · Contrast checker → · Palette generator →

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