#DFD274#DFD274

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

Color values

HEX#DFD274
RGBrgb(223, 210, 116)
HSLhsl(53, 63%, 66%)
HSVhsv(53, 48%, 87%)
CMYKcmyk(0%, 5.8%, 48%, 12.5%)
CIE-LABlab(83.47, -7.99, 47.88)
CIE-LCHlch(83.47, 48.55, 99.48°)
OKLaboklab(85.47% -0.0232 0.1143)
OKLCHoklch(85.47% 0.117 101.5)
XYZxyz(56.6319, 63.0440, 25.7052)
Luminance0.6304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD274 #7481DF
analogous
#DF9D74 #DFD274 #B7DF74
triadic
#DFD274 #74DFD2 #D274DF
tetradic
#DFD274 #74DF9D #7481DF #DF74B7
square
#DFD274 #74DF9D #7481DF #DF74B7
split-complementary
#DFD274 #74B7DF #9D74DF
monochromatic
#B0A029 #D4C242 #DFD274 #EAE2A6 #F6F2D7

Accessibility & contrast

On white

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

On black

13.61
#DFD274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD274
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD274#FFFFFF#000000##000000
##DFD2741.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd274;
/* rgb */ color: rgb(223, 210, 116);
/* oklch */ color: oklch(85.5% 0.117 101.5);
Tailwind
colors: {
  custom: {
    50: '#ebdf9e',
    500: '#dfd274',
    950: '#000000',
  },
}
SCSS
$custom: #dfd274;
$custom-light: #ebdf9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd274",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 116
  },
  "hsl": {
    "h": 52.71,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8547,
    "c": 0.11659,
    "h": 101.5
  },
  "luminance": 0.63042
}

Semantic roles & 50–950 ramp

primary
#DFD274
secondary
#4553B2
accent
#30CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD274

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

Preview Lab → · Contrast checker → · Palette generator →

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