#CDBF42#CDBF42

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

Color values

HEX#CDBF42
RGBrgb(205, 191, 66)
HSLhsl(54, 58%, 53%)
HSVhsv(54, 68%, 80%)
CMYKcmyk(0%, 6.8%, 67.8%, 19.6%)
CIE-LABlab(76.46, -9.43, 62.03)
CIE-LCHlch(76.46, 62.74, 98.64°)
OKLaboklab(79.38% -0.0318 0.139)
OKLCHoklch(79.38% 0.143 102.9)
XYZxyz(44.7929, 50.6359, 12.5675)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF42 #4250CD
analogous
#CD7942 #CDBF42 #95CD42
triadic
#CDBF42 #42CDBF #BF42CD
tetradic
#CDBF42 #42CD79 #4250CD #CD4295
square
#CDBF42 #42CD79 #4250CD #CD4295
split-complementary
#CDBF42 #4295CD #7942CD
monochromatic
#766D1F #A69A2C #CDBF42 #DACF72 #E7E0A3

Accessibility & contrast

On white

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

On black

11.13
#CDBF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBF42
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBF42#FFFFFF#000000##000000
##CDBF421.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#D4BF4A
Tritanopia (blue-blind)
#DCB2A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdbf42;
/* rgb */ color: rgb(205, 191, 66);
/* oklch */ color: oklch(79.4% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#e0d27d',
    500: '#cdbf42',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf42;
$custom-light: #e0d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf42",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 53.957,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79382,
    "c": 0.14261,
    "h": 102.9
  },
  "luminance": 0.50634
}

Semantic roles & 50–950 ramp

primary
#CDBF42
secondary
#353C7E
accent
#56E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDBF42

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

Preview Lab → · Contrast checker → · Palette generator →

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