#D0B23F#D0B23F

#D0B23F is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.135 H 94.2°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#D0B23F
RGBrgb(208, 178, 63)
HSLhsl(48, 61%, 53%)
HSVhsv(48, 70%, 82%)
CMYKcmyk(0%, 14.4%, 69.7%, 18.4%)
CIE-LABlab(73.29, -1.55, 60.11)
CIE-LCHlch(73.29, 60.13, 91.47°)
OKLaboklab(76.93% -0.0098 0.1344)
OKLCHoklch(76.93% 0.135 94.2)
XYZxyz(42.8322, 45.6119, 11.2496)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B23F #3F5DD0
analogous
#D0693F #D0B23F #A5D03F
triadic
#D0B23F #3FD0B2 #B23FD0
tetradic
#D0B23F #3FD069 #3F5DD0 #D03FA5
square
#D0B23F #3FD069 #3F5DD0 #D03FA5
split-complementary
#D0B23F #3FA5D0 #693FD0
monochromatic
#77651D #A98E29 #D0B23F #DCC670 #E8D9A1

Accessibility & contrast

On white

2.07
#D0B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#D0B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B23F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B23F#FFFFFF#000000##000000
##D0B23F1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF2F
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#E0A49B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d0b23f;
/* rgb */ color: rgb(208, 178, 63);
/* oklch */ color: oklch(76.9% 0.135 94.2);
Tailwind
colors: {
  custom: {
    50: '#e2c87a',
    500: '#d0b23f',
    950: '#000000',
  },
}
SCSS
$custom: #d0b23f;
$custom-light: #e2c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b23f",
  "rgb": {
    "r": 208,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 47.586,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76931,
    "c": 0.13471,
    "h": 94.2
  },
  "luminance": 0.4561
}

Semantic roles & 50–950 ramp

primary
#D0B23F
secondary
#96A3D5
accent
#65E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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