#262C07#262C07

#262C07 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.056 H 118.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#262C07
RGBrgb(38, 44, 7)
HSLhsl(70, 73%, 10%)
HSVhsv(70, 84%, 17%)
CMYKcmyk(13.6%, 0%, 84.1%, 82.7%)
CIE-LABlab(16.64, -8.97, 20.98)
CIE-LCHlch(16.64, 22.82, 113.16°)
OKLaboklab(27.83% -0.0266 0.0497)
OKLCHoklch(27.83% 0.056 118.2)
XYZxyz(1.7384, 2.2288, 0.5396)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C07 #0D072C
analogous
#2C2007 #262C07 #132C07
triadic
#262C07 #07262C #2C0726
tetradic
#262C07 #072C20 #0D072C #2C0713
square
#262C07 #072C20 #0D072C #2C0713
split-complementary
#262C07 #07132C #20072C
monochromatic
#171A04 #171A04 #262C07 #54610F #819618

Accessibility & contrast

On white

14.52
#262C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#262C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C07
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C07#FFFFFF#000000##FFFFFF
##262C071.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302903
Deuteranopia (green-blind)
#2F290A
Tritanopia (blue-blind)
#292925
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262c07;
/* rgb */ color: rgb(38, 44, 7);
/* oklch */ color: oklch(27.8% 0.056 118.2);
Tailwind
colors: {
  custom: {
    50: '#61654a',
    500: '#262c07',
    950: '#000000',
  },
}
SCSS
$custom: #262c07;
$custom-light: #61654a;
$custom-dark: #000000;
JSON
{
  "hex": "#262c07",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 69.73,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.27834,
    "c": 0.05642,
    "h": 118.2
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#262C07
secondary
#2F236C
accent
#39EF56
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #262C07

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

Preview Lab → · Contrast checker → · Palette generator →

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