#D4C33F#D4C33F

#D4C33F is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.148 H 101.8°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#D4C33F
RGBrgb(212, 195, 63)
HSLhsl(53, 63%, 54%)
HSVhsv(53, 70%, 83%)
CMYKcmyk(0%, 8%, 70.3%, 16.9%)
CIE-LABlab(78.10, -8.65, 65.04)
CIE-LCHlch(78.10, 65.61, 97.58°)
OKLaboklab(80.83% -0.0303 0.1447)
OKLCHoklch(80.83% 0.148 101.8)
XYZxyz(47.5658, 53.3882, 12.5011)
Luminance0.5339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C33F #3F50D4
analogous
#D4793F #D4C33F #9BD43F
triadic
#D4C33F #3FD4C3 #C33FD4
tetradic
#D4C33F #3FD479 #3F50D4 #D43F9B
square
#D4C33F #3FD479 #3F50D4 #D43F9B
split-complementary
#D4C33F #3F9BD4 #793FD4
monochromatic
#7D721C #AF9F27 #D4C33F #DFD371 #EAE2A3

Accessibility & contrast

On white

1.80
#D4C33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#D4C33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C33F
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C33F#FFFFFF#000000##000000
##D4C33F1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2A
Deuteranopia (green-blind)
#DAC447
Tritanopia (blue-blind)
#E4B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c33f;
/* rgb */ color: rgb(212, 195, 63);
/* oklch */ color: oklch(80.8% 0.148 101.8);
Tailwind
colors: {
  custom: {
    50: '#e5d47c',
    500: '#d4c33f',
    950: '#000000',
  },
}
SCSS
$custom: #d4c33f;
$custom-light: #e5d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c33f",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 63
  },
  "hsl": {
    "h": 53.154,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80829,
    "c": 0.14778,
    "h": 101.8
  },
  "luminance": 0.53386
}

Semantic roles & 50–950 ramp

primary
#D4C33F
secondary
#333C84
accent
#54E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C33F

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

Preview Lab → · Contrast checker → · Palette generator →

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