#282E07#282E07

#282E07 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.058 H 117.8°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#282E07
RGBrgb(40, 46, 7)
HSLhsl(69, 74%, 10%)
HSVhsv(69, 85%, 18%)
CMYKcmyk(13%, 0%, 84.8%, 82%)
CIE-LABlab(17.56, -9.16, 22.13)
CIE-LCHlch(17.56, 23.96, 112.49°)
OKLaboklab(28.61% -0.0273 0.0517)
OKLCHoklch(28.61% 0.058 117.8)
XYZxyz(1.8905, 2.4205, 0.5686)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E07 #0D072E
analogous
#2E2007 #282E07 #142E07
triadic
#282E07 #07282E #2E0728
tetradic
#282E07 #072E20 #0D072E #2E0714
square
#282E07 #072E20 #0D072E #2E0714
split-complementary
#282E07 #07142E #20072E
monochromatic
#171B04 #171B04 #282E07 #56630F #849817

Accessibility & contrast

On white

14.15
#282E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#282E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E07
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E07#FFFFFF#000000##FFFFFF
##282E071.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B03
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#2B2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282e07;
/* rgb */ color: rgb(40, 46, 7);
/* oklch */ color: oklch(28.6% 0.058 117.8);
Tailwind
colors: {
  custom: {
    50: '#63664a',
    500: '#282e07',
    950: '#000000',
  },
}
SCSS
$custom: #282e07;
$custom-light: #63664a;
$custom-dark: #000000;
JSON
{
  "hex": "#282e07",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 69.231,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28613,
    "c": 0.05847,
    "h": 117.8
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#282E07
secondary
#2F236E
accent
#38F054
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #282E07

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

Preview Lab → · Contrast checker → · Palette generator →

#282E07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva