#CDB751#CDB751

#CDB751 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.124 H 97.2°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CDB751
RGBrgb(205, 183, 81)
HSLhsl(49, 55%, 56%)
HSVhsv(49, 60%, 80%)
CMYKcmyk(0%, 10.7%, 60.5%, 19.6%)
CIE-LABlab(74.47, -4.36, 53.52)
CIE-LCHlch(74.47, 53.69, 94.66°)
OKLaboklab(77.85% -0.0156 0.1232)
OKLCHoklch(77.85% 0.124 97.2)
XYZxyz(43.5973, 47.4422, 14.6438)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB751 #5167CD
analogous
#CD7951 #CDB751 #A5CD51
triadic
#CDB751 #51CDB7 #B751CD
tetradic
#CDB751 #51CD79 #5167CD #CD51A5
square
#CDB751 #51CD79 #5167CD #CD51A5
split-complementary
#CDB751 #51A5CD #7951CD
monochromatic
#7F6F25 #AF9932 #CDB751 #DBCB81 #E8DEB0

Accessibility & contrast

On white

2.00
#CDB751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#CDB751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB751
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB751#FFFFFF#000000##000000
##CDB7511.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B346
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#DCABA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb751;
/* rgb */ color: rgb(205, 183, 81);
/* oklch */ color: oklch(77.8% 0.124 97.2);
Tailwind
colors: {
  custom: {
    50: '#dfcc86',
    500: '#cdb751',
    950: '#000000',
  },
}
SCSS
$custom: #cdb751;
$custom-light: #dfcc86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb751",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 49.355,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77847,
    "c": 0.12421,
    "h": 97.2
  },
  "luminance": 0.4744
}

Semantic roles & 50–950 ramp

primary
#CDB751
secondary
#A3ACD7
accent
#64DF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB751

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

Preview Lab → · Contrast checker → · Palette generator →

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