#DFC25B#DFC25B

#DFC25B is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.9% C 0.127 H 93.7°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#DFC25B
RGBrgb(223, 194, 91)
HSLhsl(47, 67%, 62%)
HSVhsv(47, 59%, 87%)
CMYKcmyk(0%, 13%, 59.2%, 12.5%)
CIE-LABlab(79.06, -1.81, 54.54)
CIE-LCHlch(79.06, 54.57, 91.90°)
OKLaboklab(81.89% -0.0082 0.1263)
OKLCHoklch(81.89% 0.127 93.7)
XYZxyz(51.6138, 55.0294, 17.7986)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC25B #5B78DF
analogous
#DF805B #DFC25B #BADF5B
triadic
#DFC25B #5BDFC2 #C25BDF
tetradic
#DFC25B #5BDF80 #5B78DF #DF5BBA
square
#DFC25B #5BDF80 #5B78DF #DF5BBA
split-complementary
#DFC25B #5BBADF #805BDF
monochromatic
#A0841F #D4AE29 #DFC25B #E9D58E #F3E8C1

Accessibility & contrast

On white

1.75
#DFC25B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#DFC25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC25B
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC25B#FFFFFF#000000##000000
##DFC25B1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF50
Deuteranopia (green-blind)
#DBC860
Tritanopia (blue-blind)
#EFB5AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dfc25b;
/* rgb */ color: rgb(223, 194, 91);
/* oklch */ color: oklch(81.9% 0.127 93.7);
Tailwind
colors: {
  custom: {
    50: '#ecd48d',
    500: '#dfc25b',
    950: '#000000',
  },
}
SCSS
$custom: #dfc25b;
$custom-light: #ecd48d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc25b",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 91
  },
  "hsl": {
    "h": 46.818,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81891,
    "c": 0.12652,
    "h": 93.7
  },
  "luminance": 0.55027
}

Semantic roles & 50–950 ramp

primary
#DFC25B
secondary
#3B52A3
accent
#3FCF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC25B

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

Preview Lab → · Contrast checker → · Palette generator →

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