#CDB438#CDB438

#CDB438 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.140 H 97.4°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#CDB438
RGBrgb(205, 180, 56)
HSLhsl(50, 60%, 51%)
HSVhsv(50, 73%, 80%)
CMYKcmyk(0%, 12.2%, 72.7%, 19.6%)
CIE-LABlab(73.49, -4.23, 62.93)
CIE-LCHlch(73.49, 63.07, 93.85°)
OKLaboklab(77% -0.0181 0.1392)
OKLCHoklch(77% 0.14 97.4)
XYZxyz(42.2140, 45.9093, 10.3785)
Luminance0.4591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB438 #3851CD
analogous
#CD6938 #CDB438 #9BCD38
triadic
#CDB438 #38CDB4 #B438CD
tetradic
#CDB438 #38CD69 #3851CD #CD389B
square
#CDB438 #38CD69 #3851CD #CD389B
split-complementary
#CDB438 #389BCD #6938CD
monochromatic
#6F611C #A08C28 #CDB438 #D9C669 #E6D99A

Accessibility & contrast

On white

2.06
#CDB438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#CDB438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB438
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB438#FFFFFF#000000##000000
##CDB4381.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B024
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#DDA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb438;
/* rgb */ color: rgb(205, 180, 56);
/* oklch */ color: oklch(77.0% 0.140 97.4);
Tailwind
colors: {
  custom: {
    50: '#e0ca77',
    500: '#cdb438',
    950: '#000000',
  },
}
SCSS
$custom: #cdb438;
$custom-light: #e0ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb438",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 49.933,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77003,
    "c": 0.14033,
    "h": 97.4
  },
  "luminance": 0.45907
}

Semantic roles & 50–950 ramp

primary
#CDB438
secondary
#8F9BD1
accent
#5FE345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB438

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

Preview Lab → · Contrast checker → · Palette generator →

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