#26510C#26510C

#26510C is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 38.9% C 0.107 H 136.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#26510C
RGBrgb(38, 81, 12)
HSLhsl(97, 74%, 18%)
HSVhsv(97, 85%, 32%)
CMYKcmyk(53.1%, 0%, 85.2%, 68.2%)
CIE-LABlab(30.21, -28.11, 33.19)
CIE-LCHlch(30.21, 43.49, 130.26°)
OKLaboklab(38.91% -0.0782 0.0738)
OKLCHoklch(38.91% 0.108 136.7)
XYZxyz(3.8080, 6.3232, 1.3676)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26510C #370C51
analogous
#48510C #26510C #0C5114
triadic
#26510C #0C2651 #510C26
tetradic
#26510C #0C4851 #370C51 #51140C
square
#26510C #0C4851 #370C51 #51140C
split-complementary
#26510C #140C51 #510C48
monochromatic
#0D1B04 #0D1C04 #26510C #3F8614 #58BC1C

Accessibility & contrast

On white

9.27
#26510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#26510C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26510C
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26510C#FFFFFF#000000##FFFFFF
##26510C1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#244E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #26510c;
/* rgb */ color: rgb(38, 81, 12);
/* oklch */ color: oklch(38.9% 0.107 136.7);
Tailwind
colors: {
  custom: {
    50: '#668251',
    500: '#26510c',
    950: '#000000',
  },
}
SCSS
$custom: #26510c;
$custom-light: #668251;
$custom-dark: #000000;
JSON
{
  "hex": "#26510c",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 97.391,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38906,
    "c": 0.1075,
    "h": 136.7
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#26510C
secondary
#682C8C
accent
#37F1AB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #26510C

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

Preview Lab → · Contrast checker → · Palette generator →

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