#CDBF40#CDBF40

#CDBF40 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.4% C 0.144 H 103.0°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#CDBF40
RGBrgb(205, 191, 64)
HSLhsl(54, 59%, 53%)
HSVhsv(54, 69%, 80%)
CMYKcmyk(0%, 6.8%, 68.8%, 19.6%)
CIE-LABlab(76.44, -9.53, 62.80)
CIE-LCHlch(76.44, 63.52, 98.63°)
OKLaboklab(79.37% -0.0323 0.1403)
OKLCHoklch(79.37% 0.144 103)
XYZxyz(44.7349, 50.6127, 12.2623)
Luminance0.5061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF40 #404ECD
analogous
#CD7940 #CDBF40 #94CD40
triadic
#CDBF40 #40CDBF #BF40CD
tetradic
#CDBF40 #40CD79 #404ECD #CD4094
square
#CDBF40 #40CD79 #404ECD #CD4094
split-complementary
#CDBF40 #4094CD #7940CD
monochromatic
#746C1E #A5992B #CDBF40 #DACF71 #E6E0A1

Accessibility & contrast

On white

1.89
#CDBF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#CDBF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBF40
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBF40#FFFFFF#000000##000000
##CDBF401.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#D4BF48
Tritanopia (blue-blind)
#DCB2A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdbf40;
/* rgb */ color: rgb(205, 191, 64);
/* oklch */ color: oklch(79.4% 0.144 103.0);
Tailwind
colors: {
  custom: {
    50: '#e0d27c',
    500: '#cdbf40',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf40;
$custom-light: #e0d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf40",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 54.043,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79367,
    "c": 0.14398,
    "h": 103
  },
  "luminance": 0.50611
}

Semantic roles & 50–950 ramp

primary
#CDBF40
secondary
#343C7D
accent
#56E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDBF40

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

Preview Lab → · Contrast checker → · Palette generator →

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