#262F06#262F06

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

Color values

HEX#262F06
RGBrgb(38, 47, 6)
HSLhsl(73, 77%, 10%)
HSVhsv(73, 87%, 18%)
CMYKcmyk(19.1%, 0%, 87.2%, 81.6%)
CIE-LABlab(17.73, -10.92, 22.71)
CIE-LCHlch(17.73, 25.20, 115.67°)
OKLaboklab(28.7% -0.0321 0.053)
OKLCHoklch(28.7% 0.062 121.2)
XYZxyz(1.8487, 2.4582, 0.5494)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F06 #0F062F
analogous
#2F2306 #262F06 #112F06
triadic
#262F06 #06262F #2F0626
tetradic
#262F06 #062F23 #0F062F #2F0611
square
#262F06 #062F23 #0F062F #2F0611
split-complementary
#262F06 #06112F #23062F
monochromatic
#161B03 #161B03 #262F06 #52650D #7E9C14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262F06#FFFFFF#000000##FFFFFF
##262F061.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)
#332C02
Deuteranopia (green-blind)
#312B09
Tritanopia (blue-blind)
#292C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262f06;
/* rgb */ color: rgb(38, 47, 6);
/* oklch */ color: oklch(28.7% 0.062 121.2);
Tailwind
colors: {
  custom: {
    50: '#62674a',
    500: '#262f06',
    950: '#000000',
  },
}
SCSS
$custom: #262f06;
$custom-light: #62674a;
$custom-dark: #000000;
JSON
{
  "hex": "#262f06",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 73.171,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28704,
    "c": 0.06196,
    "h": 121.2
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#262F06
secondary
#322170
accent
#34F45E
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #262F06

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

Preview Lab → · Contrast checker → · Palette generator →

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