#262F07#262F07

#262F07 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.7% C 0.061 H 121.4°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#262F07
RGBrgb(38, 47, 7)
HSLhsl(74, 74%, 11%)
HSVhsv(74, 85%, 18%)
CMYKcmyk(19.1%, 0%, 85.1%, 81.6%)
CIE-LABlab(17.74, -10.83, 22.31)
CIE-LCHlch(17.74, 24.80, 115.88°)
OKLaboklab(28.72% -0.0317 0.052)
OKLCHoklch(28.72% 0.061 121.4)
XYZxyz(1.8542, 2.4604, 0.5782)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F07 #10072F
analogous
#2F2407 #262F07 #122F07
triadic
#262F07 #07262F #2F0726
tetradic
#262F07 #072F24 #10072F #2F0712
square
#262F07 #072F24 #10072F #2F0712
split-complementary
#262F07 #07122F #24072F
monochromatic
#161B04 #161B04 #262F07 #51640F #7C9A17

Accessibility & contrast

On white

14.08
#262F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#262F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F07
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F07#FFFFFF#000000##FFFFFF
##262F071.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C03
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#292C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262f07;
/* rgb */ color: rgb(38, 47, 7);
/* oklch */ color: oklch(28.7% 0.061 121.4);
Tailwind
colors: {
  custom: {
    50: '#61674a',
    500: '#262f07',
    950: '#000000',
  },
}
SCSS
$custom: #262f07;
$custom-light: #61674a;
$custom-dark: #000000;
JSON
{
  "hex": "#262f07",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 73.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28715,
    "c": 0.06096,
    "h": 121.4
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

primary
#262F07
secondary
#34236F
accent
#37F161
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #262F07

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

Preview Lab → · Contrast checker → · Palette generator →

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