#D7CF3F#D7CF3F

#D7CF3F is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.6% C 0.158 H 106.2°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D7CF3F
RGBrgb(215, 207, 63)
HSLhsl(57, 66%, 55%)
HSVhsv(57, 71%, 84%)
CMYKcmyk(0%, 3.7%, 70.7%, 15.7%)
CIE-LABlab(81.53, -13.46, 68.49)
CIE-LCHlch(81.53, 69.80, 101.12°)
OKLaboklab(83.62% -0.044 0.1518)
OKLCHoklch(83.62% 0.158 106.2)
XYZxyz(51.2364, 59.4334, 13.4746)
Luminance0.5943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF3F #3F47D7
analogous
#D7833F #D7CF3F #93D73F
triadic
#D7CF3F #3FD7CF #CF3FD7
tetradic
#D7CF3F #3FD783 #3F47D7 #D73F93
square
#D7CF3F #3FD783 #3F47D7 #D73F93
split-complementary
#D7CF3F #3F93D7 #833FD7
monochromatic
#817B1B #B3AC25 #D7CF3F #E2DC72 #ECE8A4

Accessibility & contrast

On white

1.63
#D7CF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#D7CF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF3F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF3F#FFFFFF#000000##000000
##D7CF3F1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C726
Deuteranopia (green-blind)
#E4CD49
Tritanopia (blue-blind)
#E7C1B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf3f;
/* rgb */ color: rgb(215, 207, 63);
/* oklch */ color: oklch(83.6% 0.158 106.2);
Tailwind
colors: {
  custom: {
    50: '#e7dd7d',
    500: '#d7cf3f',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf3f;
$custom-light: #e7dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf3f",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 63
  },
  "hsl": {
    "h": 56.842,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83615,
    "c": 0.15807,
    "h": 106.2
  },
  "luminance": 0.59432
}

Semantic roles & 50–950 ramp

primary
#D7CF3F
secondary
#323788
accent
#48E83F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D7CF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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