#D6B23F#D6B23F

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

Color values

HEX#D6B23F
RGBrgb(214, 178, 63)
HSLhsl(46, 65%, 54%)
HSVhsv(46, 71%, 84%)
CMYKcmyk(0%, 16.8%, 70.6%, 16.1%)
CIE-LABlab(73.87, 1.04, 60.87)
CIE-LCHlch(73.87, 60.88, 89.02°)
OKLaboklab(77.52% -0.0028 0.1358)
OKLCHoklch(77.52% 0.136 91.2)
XYZxyz(44.5516, 46.4985, 11.3302)
Luminance0.4650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B23F #3F63D6
analogous
#D6663F #D6B23F #AFD63F
triadic
#D6B23F #3FD6B2 #B23FD6
tetradic
#D6B23F #3FD666 #3F63D6 #D63FAF
square
#D6B23F #3FD666 #3F63D6 #D63FAF
split-complementary
#D6B23F #3FAFD6 #663FD6
monochromatic
#7F681B #B29026 #D6B23F #E1C671 #ECDAA4

Accessibility & contrast

On white

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

On black

10.30
#D6B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B23F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B23F#FFFFFF#000000##000000
##D6B23F1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B02F
Deuteranopia (green-blind)
#CEBA45
Tritanopia (blue-blind)
#E7A49B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d6b23f;
/* rgb */ color: rgb(214, 178, 63);
/* oklch */ color: oklch(77.5% 0.136 91.2);
Tailwind
colors: {
  custom: {
    50: '#e7c87b',
    500: '#d6b23f',
    950: '#000000',
  },
}
SCSS
$custom: #d6b23f;
$custom-light: #e7c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b23f",
  "rgb": {
    "r": 214,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 45.695,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77519,
    "c": 0.13579,
    "h": 91.2
  },
  "luminance": 0.46496
}

Semantic roles & 50–950 ramp

primary
#D6B23F
secondary
#98A8D8
accent
#68E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D6B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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