#26510F#26510F

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

Color values

HEX#26510F
RGBrgb(38, 81, 15)
HSLhsl(99, 69%, 19%)
HSVhsv(99, 81%, 32%)
CMYKcmyk(53.1%, 0%, 81.5%, 68.2%)
CIE-LABlab(30.23, -27.89, 32.07)
CIE-LCHlch(30.23, 42.50, 131.02°)
OKLaboklab(38.93% -0.0774 0.0719)
OKLCHoklch(38.93% 0.106 137.1)
XYZxyz(3.8279, 6.3312, 1.4722)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26510F #3A0F51
analogous
#47510F #26510F #0F5119
triadic
#26510F #0F2651 #510F26
tetradic
#26510F #0F4751 #3A0F51 #51190F
square
#26510F #0F4751 #3A0F51 #51190F
split-complementary
#26510F #190F51 #510F47
monochromatic
#0C1A05 #0E1D05 #26510F #3E8519 #56B822

Accessibility & contrast

On white

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

On black

2.27
#26510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##26510F#FFFFFF#000000##FFFFFF
##26510F1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544903
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#234E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #26510f;
/* rgb */ color: rgb(38, 81, 15);
/* oklch */ color: oklch(38.9% 0.106 137.1);
Tailwind
colors: {
  custom: {
    50: '#658253',
    500: '#26510f',
    950: '#000000',
  },
}
SCSS
$custom: #26510f;
$custom-light: #658253;
$custom-dark: #000000;
JSON
{
  "hex": "#26510f",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 99.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38928,
    "c": 0.10566,
    "h": 137.1
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#26510F
secondary
#6C318B
accent
#3CECAE
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #26510F

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

Preview Lab → · Contrast checker → · Palette generator →

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