#D6C25F#D6C25F

#D6C25F is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.1% C 0.122 H 98.1°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#D6C25F
RGBrgb(214, 194, 95)
HSLhsl(50, 59%, 61%)
HSVhsv(50, 56%, 84%)
CMYKcmyk(0%, 9.3%, 55.6%, 16.1%)
CIE-LABlab(78.29, -5.26, 51.59)
CIE-LCHlch(78.29, 51.86, 95.82°)
OKLaboklab(81.11% -0.0171 0.1206)
OKLCHoklch(81.11% 0.122 98.1)
XYZxyz(49.0907, 53.7080, 18.6051)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C25F #5F73D6
analogous
#D6865F #D6C25F #AED65F
triadic
#D6C25F #5FD6C2 #C25FD6
tetradic
#D6C25F #5FD686 #5F73D6 #D65FAE
square
#D6C25F #5FD686 #5F73D6 #D65FAE
split-complementary
#D6C25F #5FAED6 #865FD6
monochromatic
#958226 #C5AD33 #D6C25F #E2D590 #EFE7C0

Accessibility & contrast

On white

1.79
#D6C25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#D6C25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C25F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C25F#FFFFFF#000000##000000
##D6C25F1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE55
Deuteranopia (green-blind)
#D8C563
Tritanopia (blue-blind)
#E5B6AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d6c25f;
/* rgb */ color: rgb(214, 194, 95);
/* oklch */ color: oklch(81.1% 0.122 98.1);
Tailwind
colors: {
  custom: {
    50: '#e5d48f',
    500: '#d6c25f',
    950: '#000000',
  },
}
SCSS
$custom: #d6c25f;
$custom-light: #e5d48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c25f",
  "rgb": {
    "r": 214,
    "g": 194,
    "b": 95
  },
  "hsl": {
    "h": 49.916,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81107,
    "c": 0.12178,
    "h": 98.1
  },
  "luminance": 0.53706
}

Semantic roles & 50–950 ramp

primary
#D6C25F
secondary
#404F9A
accent
#3BC71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D6C25F

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

Preview Lab → · Contrast checker → · Palette generator →

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