#CDC592#CDC592

#CDC592 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.068 H 100.2°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CDC592
RGBrgb(205, 197, 146)
HSLhsl(52, 37%, 69%)
HSVhsv(52, 29%, 80%)
CMYKcmyk(0%, 3.9%, 28.8%, 19.6%)
CIE-LABlab(79.03, -5.11, 26.65)
CIE-LCHlch(79.03, 27.14, 100.86°)
OKLaboklab(81.75% -0.0121 0.067)
OKLCHoklch(81.75% 0.068 100.2)
XYZxyz(50.3317, 54.9880, 35.1509)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC592 #929ACD
analogous
#CDA892 #CDC592 #B8CD92
triadic
#CDC592 #92CDC5 #C592CD
tetradic
#CDC592 #92CDA8 #929ACD #CD92B8
square
#CDC592 #92CDA8 #929ACD #CD92B8
split-complementary
#CDC592 #92B8CD #A892CD
monochromatic
#9D9148 #BAAF68 #CDC592 #E0DBBC #F3F2E6

Accessibility & contrast

On white

1.75
#CDC592 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#CDC592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC592
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC592#FFFFFF#000000##000000
##CDC5921.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC28F
Deuteranopia (green-blind)
#D1C594
Tritanopia (blue-blind)
#D6BEB7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc592;
/* rgb */ color: rgb(205, 197, 146);
/* oklch */ color: oklch(81.7% 0.068 100.2);
Tailwind
colors: {
  custom: {
    50: '#ddd6b2',
    500: '#cdc592',
    950: '#000000',
  },
}
SCSS
$custom: #cdc592;
$custom-light: #ddd6b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc592",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 146
  },
  "hsl": {
    "h": 51.864,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.81748,
    "c": 0.06807,
    "h": 100.2
  },
  "luminance": 0.54987
}

Semantic roles & 50–950 ramp

primary
#CDC592
secondary
#616AA2
accent
#46B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CDC592

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

Preview Lab → · Contrast checker → · Palette generator →

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