#D7B262#D7B262

#D7B262 is a light, moderate orange. Relative luminance 0.472; OKLCH L 78.0% C 0.108 H 85.0°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#D7B262
RGBrgb(215, 178, 98)
HSLhsl(41, 59%, 61%)
HSVhsv(41, 54%, 84%)
CMYKcmyk(0%, 17.2%, 54.4%, 15.7%)
CIE-LABlab(74.30, 3.77, 45.46)
CIE-LCHlch(74.30, 45.62, 85.26°)
OKLaboklab(77.99% 0.0094 0.1075)
OKLCHoklch(77.99% 0.108 85)
XYZxyz(46.1513, 47.1722, 18.2272)
Luminance0.4717 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B262 #6287D7
analogous
#D77862 #D7B262 #C2D762
triadic
#D7B262 #62D7B2 #B262D7
tetradic
#D7B262 #62D778 #6287D7 #D762C2
square
#D7B262 #62D778 #6287D7 #D762C2
split-complementary
#D7B262 #62C2D7 #7862D7
monochromatic
#987427 #C99933 #D7B262 #E3CA93 #F0E2C4

Accessibility & contrast

On white

2.01
#D7B262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#D7B262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B262
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B262#FFFFFF#000000##000000
##D7B2621.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B15B
Deuteranopia (green-blind)
#CCBB65
Tritanopia (blue-blind)
#E7A69F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d7b262;
/* rgb */ color: rgb(215, 178, 98);
/* oklch */ color: oklch(78.0% 0.108 85.0);
Tailwind
colors: {
  custom: {
    50: '#e6c890',
    500: '#d7b262',
    950: '#000000',
  },
}
SCSS
$custom: #d7b262;
$custom-light: #e6c890;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b262",
  "rgb": {
    "r": 215,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 41.026,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.77989,
    "c": 0.10793,
    "h": 85
  },
  "luminance": 0.4717
}

Semantic roles & 50–950 ramp

primary
#D7B262
secondary
#B5C2E0
accent
#54C71E
background
#FEFCF9
surface
#FDF8F1
border
#D5D1CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #D7B262

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

Preview Lab → · Contrast checker → · Palette generator →

#D7B262 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva