#262B07#262B07

#262B07 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.5% C 0.055 H 116.9°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#262B07
RGBrgb(38, 43, 7)
HSLhsl(68, 72%, 10%)
HSVhsv(68, 84%, 17%)
CMYKcmyk(11.6%, 0%, 83.7%, 83.1%)
CIE-LABlab(16.28, -8.34, 20.53)
CIE-LCHlch(16.28, 22.16, 112.12°)
OKLaboklab(27.54% -0.0249 0.049)
OKLCHoklch(27.54% 0.055 116.9)
XYZxyz(1.7016, 2.1552, 0.5273)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B07 #0C072B
analogous
#2B1E07 #262B07 #142B07
triadic
#262B07 #07262B #2B0726
tetradic
#262B07 #072B1E #0C072B #2B0714
square
#262B07 #072B1E #0C072B #2B0714
split-complementary
#262B07 #07142B #1E072B
monochromatic
#171A04 #171A04 #262B07 #556010 #839418

Accessibility & contrast

On white

14.68
#262B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#262B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B07
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B07#FFFFFF#000000##FFFFFF
##262B071.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2803
Deuteranopia (green-blind)
#2E2909
Tritanopia (blue-blind)
#292824
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262b07;
/* rgb */ color: rgb(38, 43, 7);
/* oklch */ color: oklch(27.5% 0.055 116.9);
Tailwind
colors: {
  custom: {
    50: '#61644a',
    500: '#262b07',
    950: '#000000',
  },
}
SCSS
$custom: #262b07;
$custom-light: #61644a;
$custom-dark: #000000;
JSON
{
  "hex": "#262b07",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 68.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27542,
    "c": 0.05492,
    "h": 116.9
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#262B07
secondary
#2D236B
accent
#39EF52
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #262B07

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

Preview Lab → · Contrast checker → · Palette generator →

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