#DFC25F#DFC25F

#DFC25F is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.9% C 0.123 H 93.2°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#DFC25F
RGBrgb(223, 194, 95)
HSLhsl(46, 67%, 62%)
HSVhsv(46, 57%, 87%)
CMYKcmyk(0%, 13%, 57.4%, 12.5%)
CIE-LABlab(79.10, -1.52, 52.73)
CIE-LCHlch(79.10, 52.75, 91.65°)
OKLaboklab(81.94% -0.0069 0.1229)
OKLCHoklch(81.94% 0.123 93.2)
XYZxyz(51.7909, 55.1003, 18.7317)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC25F #5F7CDF
analogous
#DF825F #DFC25F #BCDF5F
triadic
#DFC25F #5FDFC2 #C25FDF
tetradic
#DFC25F #5FDF82 #5F7CDF #DF5FBC
square
#DFC25F #5FDF82 #5F7CDF #DF5FBC
split-complementary
#DFC25F #5FBCDF #825FDF
monochromatic
#A38521 #D5AF2C #DFC25F #E9D592 #F3E9C5

Accessibility & contrast

On white

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

On black

12.02
#DFC25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC25F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC25F#FFFFFF#000000##000000
##DFC25F1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#DBC863
Tritanopia (blue-blind)
#EFB5AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dfc25f;
/* rgb */ color: rgb(223, 194, 95);
/* oklch */ color: oklch(81.9% 0.123 93.2);
Tailwind
colors: {
  custom: {
    50: '#ecd48f',
    500: '#dfc25f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc25f;
$custom-light: #ecd48f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc25f",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 95
  },
  "hsl": {
    "h": 46.406,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81937,
    "c": 0.12304,
    "h": 93.2
  },
  "luminance": 0.55098
}

Semantic roles & 50–950 ramp

primary
#DFC25F
secondary
#3C54A6
accent
#41CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC25F

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

Preview Lab → · Contrast checker → · Palette generator →

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