#D7B235#D7B235

#D7B235 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.5% C 0.142 H 91.6°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#D7B235
RGBrgb(215, 178, 53)
HSLhsl(46, 67%, 53%)
HSVhsv(46, 75%, 84%)
CMYKcmyk(0%, 17.2%, 75.3%, 15.7%)
CIE-LABlab(73.90, 1.01, 64.75)
CIE-LCHlch(73.90, 64.76, 89.10°)
OKLaboklab(77.55% -0.004 0.142)
OKLCHoklch(77.55% 0.142 91.6)
XYZxyz(44.5899, 46.5476, 10.0035)
Luminance0.4654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B235 #355AD7
analogous
#D76135 #D7B235 #ABD735
triadic
#D7B235 #35D7B2 #B235D7
tetradic
#D7B235 #35D761 #355AD7 #D735AB
square
#D7B235 #35D761 #355AD7 #D735AB
split-complementary
#D7B235 #35ABD7 #6135D7
monochromatic
#7A6318 #AD8D22 #D7B235 #E1C568 #EBD99B

Accessibility & contrast

On white

2.04
#D7B235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#D7B235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B235
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B235#FFFFFF#000000##000000
##D7B2351.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1F
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#E9A39A
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d7b235;
/* rgb */ color: rgb(215, 178, 53);
/* oklch */ color: oklch(77.5% 0.142 91.6);
Tailwind
colors: {
  custom: {
    50: '#e8c875',
    500: '#d7b235',
    950: '#000000',
  },
}
SCSS
$custom: #d7b235;
$custom-light: #e8c875;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b235",
  "rgb": {
    "r": 215,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 46.296,
    "s": 66.942,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77545,
    "c": 0.1421,
    "h": 91.6
  },
  "luminance": 0.46545
}

Semantic roles & 50–950 ramp

primary
#D7B235
secondary
#91A1D7
accent
#65EA3E
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D7B235

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

Preview Lab → · Contrast checker → · Palette generator →

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