#CDBF58#CDBF58

#CDBF58 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.6% C 0.125 H 101.6°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#CDBF58
RGBrgb(205, 191, 88)
HSLhsl(53, 54%, 57%)
HSVhsv(53, 57%, 80%)
CMYKcmyk(0%, 6.8%, 57.1%, 19.6%)
CIE-LABlab(76.65, -8.00, 52.76)
CIE-LCHlch(76.65, 53.36, 98.62°)
OKLaboklab(79.59% -0.0252 0.1225)
OKLCHoklch(79.59% 0.125 101.6)
XYZxyz(45.5707, 50.9470, 16.6639)
Luminance0.5094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF58 #5866CD
analogous
#CD8558 #CDBF58 #A0CD58
triadic
#CDBF58 #58CDBF #BF58CD
tetradic
#CDBF58 #58CD85 #5866CD #CD58A0
square
#CDBF58 #58CD85 #5866CD #CD58A0
split-complementary
#CDBF58 #58A0CD #8558CD
monochromatic
#837827 #B2A335 #CDBF58 #DBD187 #E9E3B6

Accessibility & contrast

On white

1.88
#CDBF58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#CDBF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBF58
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBF58#FFFFFF#000000##000000
##CDBF581.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4E
Deuteranopia (green-blind)
#D3C05D
Tritanopia (blue-blind)
#DBB3A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdbf58;
/* rgb */ color: rgb(205, 191, 88);
/* oklch */ color: oklch(79.6% 0.125 101.6);
Tailwind
colors: {
  custom: {
    50: '#dfd28a',
    500: '#cdbf58',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf58;
$custom-light: #dfd28a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf58",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 88
  },
  "hsl": {
    "h": 52.821,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79593,
    "c": 0.12505,
    "h": 101.6
  },
  "luminance": 0.50945
}

Semantic roles & 50–950 ramp

primary
#CDBF58
secondary
#3F488B
accent
#5CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDBF58

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

Preview Lab → · Contrast checker → · Palette generator →

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