#CDB236#CDB236

#CDB236 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.140 H 96.4°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#CDB236
RGBrgb(205, 178, 54)
HSLhsl(49, 60%, 51%)
HSVhsv(49, 74%, 80%)
CMYKcmyk(0%, 13.2%, 73.7%, 19.6%)
CIE-LABlab(72.95, -3.28, 63.15)
CIE-LCHlch(72.95, 63.23, 92.97°)
OKLaboklab(76.57% -0.0156 0.1393)
OKLCHoklch(76.57% 0.14 96.4)
XYZxyz(41.7652, 45.0885, 9.9924)
Luminance0.4509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB236 #3651CD
analogous
#CD6736 #CDB236 #9CCD36
triadic
#CDB236 #36CDB2 #B236CD
tetradic
#CDB236 #36CD67 #3651CD #CD369C
square
#CDB236 #36CD67 #3651CD #CD369C
split-complementary
#CDB236 #369CCD #6736CD
monochromatic
#6D5F1B #9E8927 #CDB236 #D9C567 #E5D898

Accessibility & contrast

On white

2.10
#CDB236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#CDB236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB236
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB236#FFFFFF#000000##000000
##CDB2361.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE21
Deuteranopia (green-blind)
#CBB73E
Tritanopia (blue-blind)
#DDA49A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb236;
/* rgb */ color: rgb(205, 178, 54);
/* oklch */ color: oklch(76.6% 0.140 96.4);
Tailwind
colors: {
  custom: {
    50: '#e0c876',
    500: '#cdb236',
    950: '#000000',
  },
}
SCSS
$custom: #cdb236;
$custom-light: #e0c876;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb236",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 49.272,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76574,
    "c": 0.14012,
    "h": 96.4
  },
  "luminance": 0.45086
}

Semantic roles & 50–950 ramp

primary
#CDB236
secondary
#8E9AD1
accent
#61E344
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB236

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

Preview Lab → · Contrast checker → · Palette generator →

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