#CDCB92#CDCB92

#CDCB92 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.075 H 106.2°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CDCB92
RGBrgb(205, 203, 146)
HSLhsl(58, 37%, 69%)
HSVhsv(58, 29%, 80%)
CMYKcmyk(0%, 1%, 28.8%, 19.6%)
CIE-LABlab(80.61, -8.21, 28.77)
CIE-LCHlch(80.61, 29.92, 105.93°)
OKLaboklab(82.99% -0.021 0.072)
OKLCHoklch(82.99% 0.075 106.2)
XYZxyz(51.7213, 57.7672, 35.6141)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB92 #9294CD
analogous
#CDAE92 #CDCB92 #B2CD92
triadic
#CDCB92 #92CDCB #CB92CD
tetradic
#CDCB92 #92CDAE #9294CD #CD92B2
square
#CDCB92 #92CDAE #9294CD #CD92B2
split-complementary
#CDCB92 #92B2CD #AE92CD
monochromatic
#9D9A48 #BAB768 #CDCB92 #E0DFBC #F3F3E6

Accessibility & contrast

On white

1.67
#CDCB92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CDCB92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB92
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB92#FFFFFF#000000##000000
##CDCB921.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C78E
Deuteranopia (green-blind)
#D6C994
Tritanopia (blue-blind)
#D6C4BC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcb92;
/* rgb */ color: rgb(205, 203, 146);
/* oklch */ color: oklch(83.0% 0.075 106.2);
Tailwind
colors: {
  custom: {
    50: '#dddab2',
    500: '#cdcb92',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb92;
$custom-light: #dddab2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb92",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 146
  },
  "hsl": {
    "h": 57.966,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.82994,
    "c": 0.07503,
    "h": 106.2
  },
  "luminance": 0.57766
}

Semantic roles & 50–950 ramp

primary
#CDCB92
secondary
#6163A2
accent
#3AB035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCB92

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

Preview Lab → · Contrast checker → · Palette generator →

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