#D4C243#D4C243

#D4C243 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.144 H 101.1°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#D4C243
RGBrgb(212, 194, 67)
HSLhsl(53, 63%, 55%)
HSVhsv(53, 68%, 83%)
CMYKcmyk(0%, 8.5%, 68.4%, 16.9%)
CIE-LABlab(77.87, -7.93, 63.27)
CIE-LCHlch(77.87, 63.76, 97.15°)
OKLaboklab(80.65% -0.0278 0.1416)
OKLCHoklch(80.65% 0.144 101.1)
XYZxyz(47.4584, 52.9879, 13.0370)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C243 #4355D4
analogous
#D47A43 #D4C243 #9DD443
triadic
#D4C243 #43D4C2 #C243D4
tetradic
#D4C243 #43D47A #4355D4 #D4439D
square
#D4C243 #43D47A #4355D4 #D4439D
split-complementary
#D4C243 #439DD4 #7A43D4
monochromatic
#7F731D #B1A029 #D4C243 #DFD275 #EBE2A7

Accessibility & contrast

On white

1.81
#D4C243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#D4C243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C243
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C243#FFFFFF#000000##000000
##D4C2431.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC31
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#E4B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4c243;
/* rgb */ color: rgb(212, 194, 67);
/* oklch */ color: oklch(80.7% 0.144 101.1);
Tailwind
colors: {
  custom: {
    50: '#e5d47e',
    500: '#d4c243',
    950: '#000000',
  },
}
SCSS
$custom: #d4c243;
$custom-light: #e5d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c243",
  "rgb": {
    "r": 212,
    "g": 194,
    "b": 67
  },
  "hsl": {
    "h": 52.552,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8065,
    "c": 0.14429,
    "h": 101.1
  },
  "luminance": 0.52986
}

Semantic roles & 50–950 ramp

primary
#D4C243
secondary
#343F87
accent
#56E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C243

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

Preview Lab → · Contrast checker → · Palette generator →

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