#DFC258#DFC258

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

Color values

HEX#DFC258
RGBrgb(223, 194, 88)
HSLhsl(47, 68%, 61%)
HSVhsv(47, 61%, 87%)
CMYKcmyk(0%, 13%, 60.5%, 12.5%)
CIE-LABlab(79.03, -2.02, 55.87)
CIE-LCHlch(79.03, 55.91, 92.07°)
OKLaboklab(81.86% -0.0091 0.1287)
OKLCHoklch(81.86% 0.129 94.1)
XYZxyz(51.4869, 54.9787, 17.1306)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC258 #5875DF
analogous
#DF7E58 #DFC258 #B8DF58
triadic
#DFC258 #58DFC2 #C258DF
tetradic
#DFC258 #58DF7E #5875DF #DF58B8
square
#DFC258 #58DF7E #5875DF #DF58B8
split-complementary
#DFC258 #58B8DF #7E58DF
monochromatic
#9E831E #D2AD28 #DFC258 #E9D58B #F3E8BF

Accessibility & contrast

On white

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

On black

12.00
#DFC258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC258
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC258#FFFFFF#000000##000000
##DFC2581.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4D
Deuteranopia (green-blind)
#DCC75D
Tritanopia (blue-blind)
#F0B4AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dfc258;
/* rgb */ color: rgb(223, 194, 88);
/* oklch */ color: oklch(81.9% 0.129 94.1);
Tailwind
colors: {
  custom: {
    50: '#ecd48b',
    500: '#dfc258',
    950: '#000000',
  },
}
SCSS
$custom: #dfc258;
$custom-light: #ecd48b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc258",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 47.111,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81859,
    "c": 0.12906,
    "h": 94.1
  },
  "luminance": 0.54976
}

Semantic roles & 50–950 ramp

primary
#DFC258
secondary
#3A50A2
accent
#3ED016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC258

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

Preview Lab → · Contrast checker → · Palette generator →

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