#CDB145#CDB145

#CDB145 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.129 H 94.5°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#CDB145
RGBrgb(205, 177, 69)
HSLhsl(48, 58%, 54%)
HSVhsv(48, 66%, 80%)
CMYKcmyk(0%, 13.7%, 66.3%, 19.6%)
CIE-LABlab(72.80, -1.98, 57.01)
CIE-LCHlch(72.80, 57.04, 91.99°)
OKLaboklab(76.49% -0.0102 0.1289)
OKLCHoklch(76.49% 0.129 94.5)
XYZxyz(41.9752, 44.8553, 12.0761)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB145 #4561CD
analogous
#CD6D45 #CDB145 #A5CD45
triadic
#CDB145 #45CDB1 #B145CD
tetradic
#CDB145 #45CD6D #4561CD #CD45A5
square
#CDB145 #45CD6D #4561CD #CD45A5
split-complementary
#CDB145 #45A5CD #6D45CD
monochromatic
#776520 #A88E2D #CDB145 #DAC575 #E7D9A5

Accessibility & contrast

On white

2.11
#CDB145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#CDB145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB145
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB145#FFFFFF#000000##000000
##CDB1451.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb145;
/* rgb */ color: rgb(205, 177, 69);
/* oklch */ color: oklch(76.5% 0.129 94.5);
Tailwind
colors: {
  custom: {
    50: '#e0c87e',
    500: '#cdb145',
    950: '#000000',
  },
}
SCSS
$custom: #cdb145;
$custom-light: #e0c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb145",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 47.647,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76487,
    "c": 0.1293,
    "h": 94.5
  },
  "luminance": 0.44853
}

Semantic roles & 50–950 ramp

primary
#CDB145
secondary
#9AA6D4
accent
#67E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB145

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

Preview Lab → · Contrast checker → · Palette generator →

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