#DFD273#DFD273

#DFD273 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.5% C 0.118 H 101.6°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#DFD273
RGBrgb(223, 210, 115)
HSLhsl(53, 63%, 66%)
HSVhsv(53, 48%, 87%)
CMYKcmyk(0%, 5.8%, 48.4%, 12.5%)
CIE-LABlab(83.45, -8.08, 48.35)
CIE-LCHlch(83.45, 49.02, 99.49°)
OKLaboklab(85.46% -0.0236 0.1152)
OKLCHoklch(85.46% 0.118 101.6)
XYZxyz(56.5741, 63.0208, 25.4005)
Luminance0.6302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD273 #7380DF
analogous
#DF9C73 #DFD273 #B6DF73
triadic
#DFD273 #73DFD2 #D273DF
tetradic
#DFD273 #73DF9C #7380DF #DF73B6
square
#DFD273 #73DF9C #7380DF #DF73B6
split-complementary
#DFD273 #73B6DF #9C73DF
monochromatic
#AF9F28 #D4C241 #DFD273 #EAE2A5 #F6F2D7

Accessibility & contrast

On white

1.54
#DFD273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#DFD273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD273
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD273#FFFFFF#000000##000000
##DFD2731.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6B
Deuteranopia (green-blind)
#E5D377
Tritanopia (blue-blind)
#EDC6BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd273;
/* rgb */ color: rgb(223, 210, 115);
/* oklch */ color: oklch(85.5% 0.118 101.6);
Tailwind
colors: {
  custom: {
    50: '#ebdf9d',
    500: '#dfd273',
    950: '#000000',
  },
}
SCSS
$custom: #dfd273;
$custom-light: #ebdf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd273",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 115
  },
  "hsl": {
    "h": 52.778,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85456,
    "c": 0.1176,
    "h": 101.6
  },
  "luminance": 0.63019
}

Semantic roles & 50–950 ramp

primary
#DFD273
secondary
#4552B1
accent
#30CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD273

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

Preview Lab → · Contrast checker → · Palette generator →

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