#DFB158#DFB158

#DFB158 is a light, moderate orange. Relative luminance 0.478; OKLCH L 78.5% C 0.119 H 82.0°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#DFB158
RGBrgb(223, 177, 88)
HSLhsl(40, 68%, 61%)
HSVhsv(40, 61%, 87%)
CMYKcmyk(0%, 20.6%, 60.5%, 12.5%)
CIE-LABlab(74.72, 6.89, 51.01)
CIE-LCHlch(74.72, 51.47, 82.30°)
OKLaboklab(78.47% 0.0167 0.1183)
OKLCHoklch(78.47% 0.119 82)
XYZxyz(47.9175, 47.8399, 15.9408)
Luminance0.4784 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB158 #5886DF
analogous
#DF6D58 #DFB158 #C9DF58
triadic
#DFB158 #58DFB1 #B158DF
tetradic
#DFB158 #58DF6D #5886DF #DF58C9
square
#DFB158 #58DF6D #5886DF #DF58C9
split-complementary
#DFB158 #58C9DF #6D58DF
monochromatic
#9E731E #D29828 #DFB158 #E9C98B #F3E1BF

Accessibility & contrast

On white

1.99
#DFB158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#DFB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB158
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB158#FFFFFF#000000##000000
##DFB1581.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B14F
Deuteranopia (green-blind)
#CFBD5B
Tritanopia (blue-blind)
#F0A39D
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dfb158;
/* rgb */ color: rgb(223, 177, 88);
/* oklch */ color: oklch(78.5% 0.119 82.0);
Tailwind
colors: {
  custom: {
    50: '#ecc88a',
    500: '#dfb158',
    950: '#000000',
  },
}
SCSS
$custom: #dfb158;
$custom-light: #ecc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb158",
  "rgb": {
    "r": 223,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 39.556,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.78467,
    "c": 0.11949,
    "h": 82
  },
  "luminance": 0.47837
}

Semantic roles & 50–950 ramp

primary
#DFB158
secondary
#B0C1E3
accent
#55D016
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#17130C
muted
#85827D

Preview Lab

Preview with #DFB158

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

Preview Lab → · Contrast checker → · Palette generator →

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