#262F0F#262F0F

#262F0F is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 28.8% C 0.053 H 122.9°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#262F0F
RGBrgb(38, 47, 15)
HSLhsl(77, 52%, 12%)
HSVhsv(77, 68%, 18%)
CMYKcmyk(19.1%, 0%, 68.1%, 81.6%)
CIE-LABlab(17.83, -10.05, 18.86)
CIE-LCHlch(17.83, 21.37, 118.06°)
OKLaboklab(28.81% -0.0286 0.0443)
OKLCHoklch(28.81% 0.053 122.9)
XYZxyz(1.9021, 2.4796, 0.8302)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F0F #180F2F
analogous
#2F280F #262F0F #162F0F
triadic
#262F0F #0F262F #2F0F26
tetradic
#262F0F #0F2F28 #180F2F #2F0F16
square
#262F0F #0F2F28 #180F2F #2F0F16
split-complementary
#262F0F #0F162F #280F2F
monochromatic
#131707 #131707 #262F0F #4C5D1E #718C2D

Accessibility & contrast

On white

14.04
#262F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#262F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F0F
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F0F#FFFFFF#000000##FFFFFF
##262F0F1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#312C11
Tritanopia (blue-blind)
#282C28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #262f0f;
/* rgb */ color: rgb(38, 47, 15);
/* oklch */ color: oklch(28.8% 0.053 122.9);
Tailwind
colors: {
  custom: {
    50: '#61674e',
    500: '#262f0f',
    950: '#000000',
  },
}
SCSS
$custom: #262f0f;
$custom-light: #61674e;
$custom-dark: #000000;
JSON
{
  "hex": "#262f0f",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 76.875,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28814,
    "c": 0.05274,
    "h": 122.9
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#262F0F
secondary
#413169
accent
#4DDB75
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #262F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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