#DFC55B#DFC55B

#DFC55B is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.5% C 0.129 H 95.6°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#DFC55B
RGBrgb(223, 197, 91)
HSLhsl(48, 67%, 62%)
HSVhsv(48, 59%, 87%)
CMYKcmyk(0%, 11.7%, 59.2%, 12.5%)
CIE-LABlab(79.83, -3.36, 55.41)
CIE-LCHlch(79.83, 55.51, 93.47°)
OKLaboklab(82.5% -0.0127 0.1281)
OKLCHoklch(82.5% 0.129 95.6)
XYZxyz(52.2882, 56.3783, 18.0234)
Luminance0.5638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC55B #5B75DF
analogous
#DF835B #DFC55B #B7DF5B
triadic
#DFC55B #5BDFC5 #C55BDF
tetradic
#DFC55B #5BDF83 #5B75DF #DF5BB7
square
#DFC55B #5BDF83 #5B75DF #DF5BB7
split-complementary
#DFC55B #5BB7DF #835BDF
monochromatic
#A0871F #D4B229 #DFC55B #E9D78E #F3E9C1

Accessibility & contrast

On white

1.71
#DFC55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#DFC55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC55B
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC55B#FFFFFF#000000##000000
##DFC55B1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C150
Deuteranopia (green-blind)
#DEC960
Tritanopia (blue-blind)
#EFB8AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc55b;
/* rgb */ color: rgb(223, 197, 91);
/* oklch */ color: oklch(82.5% 0.129 95.6);
Tailwind
colors: {
  custom: {
    50: '#ecd68d',
    500: '#dfc55b',
    950: '#000000',
  },
}
SCSS
$custom: #dfc55b;
$custom-light: #ecd68d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc55b",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 91
  },
  "hsl": {
    "h": 48.182,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.825,
    "c": 0.12875,
    "h": 95.6
  },
  "luminance": 0.56376
}

Semantic roles & 50–950 ramp

primary
#DFC55B
secondary
#3B4FA3
accent
#3BCF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC55B

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

Preview Lab → · Contrast checker → · Palette generator →

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