#D7B243#D7B243

#D7B243 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.7% C 0.133 H 90.2°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#D7B243
RGBrgb(215, 178, 67)
HSLhsl(45, 65%, 55%)
HSVhsv(45, 69%, 84%)
CMYKcmyk(0%, 17.2%, 68.8%, 15.7%)
CIE-LABlab(73.99, 1.67, 59.40)
CIE-LCHlch(73.99, 59.42, 88.38°)
OKLaboklab(77.65% -0.0005 0.1333)
OKLCHoklch(77.65% 0.133 90.2)
XYZxyz(44.9603, 46.6958, 11.9542)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B243 #4368D7
analogous
#D76843 #D7B243 #B2D743
triadic
#D7B243 #43D7B2 #B243D7
tetradic
#D7B243 #43D768 #4368D7 #D743B2
square
#D7B243 #43D768 #4368D7 #D743B2
split-complementary
#D7B243 #43B2D7 #6843D7
monochromatic
#846A1C #B69227 #D7B243 #E2C775 #ECDBA8

Accessibility & contrast

On white

2.03
#D7B243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#D7B243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B243
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B243#FFFFFF#000000##000000
##D7B2431.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B035
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#E8A49B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d7b243;
/* rgb */ color: rgb(215, 178, 67);
/* oklch */ color: oklch(77.7% 0.133 90.2);
Tailwind
colors: {
  custom: {
    50: '#e7c87d',
    500: '#d7b243',
    950: '#000000',
  },
}
SCSS
$custom: #d7b243;
$custom-light: #e7c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b243",
  "rgb": {
    "r": 215,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 45,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77651,
    "c": 0.1333,
    "h": 90.2
  },
  "luminance": 0.46693
}

Semantic roles & 50–950 ramp

primary
#D7B243
secondary
#9CABDA
accent
#6AE840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D7B243

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

Preview Lab → · Contrast checker → · Palette generator →

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