#262E07#262E07

#262E07 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.4% C 0.059 H 120.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#262E07
RGBrgb(38, 46, 7)
HSLhsl(72, 74%, 10%)
HSVhsv(72, 85%, 18%)
CMYKcmyk(17.4%, 0%, 84.8%, 82%)
CIE-LABlab(17.37, -10.21, 21.87)
CIE-LCHlch(17.37, 24.14, 115.03°)
OKLaboklab(28.42% -0.0301 0.0513)
OKLCHoklch(28.42% 0.059 120.4)
XYZxyz(1.8147, 2.3814, 0.5650)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E07 #0F072E
analogous
#2E2207 #262E07 #122E07
triadic
#262E07 #07262E #2E0726
tetradic
#262E07 #072E22 #0F072E #2E0712
square
#262E07 #072E22 #0F072E #2E0712
split-complementary
#262E07 #07122E #22072E
monochromatic
#161B04 #161B04 #262E07 #52630F #7E9817

Accessibility & contrast

On white

14.23
#262E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#262E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E07
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E07#FFFFFF#000000##FFFFFF
##262E071.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B03
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#292B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262e07;
/* rgb */ color: rgb(38, 46, 7);
/* oklch */ color: oklch(28.4% 0.059 120.4);
Tailwind
colors: {
  custom: {
    50: '#61664a',
    500: '#262e07',
    950: '#000000',
  },
}
SCSS
$custom: #262e07;
$custom-light: #61664a;
$custom-dark: #000000;
JSON
{
  "hex": "#262e07",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 72.308,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28421,
    "c": 0.05944,
    "h": 120.4
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#262E07
secondary
#32236E
accent
#38F05D
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #262E07

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

Preview Lab → · Contrast checker → · Palette generator →

#262E07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva