#25340C#25340C

#25340C is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.2% C 0.065 H 127.5°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#25340C
RGBrgb(37, 52, 12)
HSLhsl(83, 63%, 13%)
HSVhsv(83, 77%, 20%)
CMYKcmyk(28.8%, 0%, 76.9%, 79.6%)
CIE-LABlab(19.54, -13.84, 22.32)
CIE-LCHlch(19.54, 26.27, 121.80°)
OKLaboklab(30.17% -0.0394 0.0514)
OKLCHoklch(30.17% 0.065 127.5)
XYZxyz(2.0573, 2.8758, 0.7945)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25340C #1B0C34
analogous
#342F0C #25340C #11340C
triadic
#25340C #0C2534 #340C25
tetradic
#25340C #0C342F #1B0C34 #340C11
square
#25340C #0C342F #1B0C34 #340C11
split-complementary
#25340C #0C1134 #2F0C34
monochromatic
#121906 #121906 #25340C #486617 #6C9723

Accessibility & contrast

On white

13.33
#25340C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#25340C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25340C
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25340C#FFFFFF#000000##FFFFFF
##25340C1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373007
Deuteranopia (green-blind)
#352F0F
Tritanopia (blue-blind)
#27312C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25340c;
/* rgb */ color: rgb(37, 52, 12);
/* oklch */ color: oklch(30.2% 0.065 127.5);
Tailwind
colors: {
  custom: {
    50: '#616b4d',
    500: '#25340c',
    950: '#000000',
  },
}
SCSS
$custom: #25340c;
$custom-light: #616b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#25340c",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 82.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30166,
    "c": 0.06473,
    "h": 127.5
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#25340C
secondary
#452C70
accent
#42E67F
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #25340C

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

Preview Lab → · Contrast checker → · Palette generator →

#25340C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva