#CDBF57#CDBF57

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

Color values

HEX#CDBF57
RGBrgb(205, 191, 87)
HSLhsl(53, 54%, 57%)
HSVhsv(53, 58%, 80%)
CMYKcmyk(0%, 6.8%, 57.6%, 19.6%)
CIE-LABlab(76.64, -8.08, 53.20)
CIE-LCHlch(76.64, 53.81, 98.63°)
OKLaboklab(79.58% -0.0255 0.1233)
OKLCHoklch(79.58% 0.126 101.7)
XYZxyz(45.5295, 50.9306, 16.4473)
Luminance0.5093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF57 #5765CD
analogous
#CD8457 #CDBF57 #A0CD57
triadic
#CDBF57 #57CDBF #BF57CD
tetradic
#CDBF57 #57CD84 #5765CD #CD57A0
square
#CDBF57 #57CD84 #5765CD #CD57A0
split-complementary
#CDBF57 #57A0CD #8457CD
monochromatic
#837827 #B2A335 #CDBF57 #DBD186 #E9E3B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBF57#FFFFFF#000000##000000
##CDBF571.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)
#CFBA4C
Deuteranopia (green-blind)
#D3C05C
Tritanopia (blue-blind)
#DBB3A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdbf57;
/* rgb */ color: rgb(205, 191, 87);
/* oklch */ color: oklch(79.6% 0.126 101.7);
Tailwind
colors: {
  custom: {
    50: '#dfd28a',
    500: '#cdbf57',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf57;
$custom-light: #dfd28a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf57",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 87
  },
  "hsl": {
    "h": 52.881,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79582,
    "c": 0.12594,
    "h": 101.7
  },
  "luminance": 0.50929
}

Semantic roles & 50–950 ramp

primary
#CDBF57
secondary
#3E478A
accent
#5CDD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDBF57

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

Preview Lab → · Contrast checker → · Palette generator →

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