#CDBF3A#CDBF3A

#CDBF3A is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.3% C 0.148 H 103.2°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CDBF3A
RGBrgb(205, 191, 58)
HSLhsl(54, 60%, 52%)
HSVhsv(54, 72%, 80%)
CMYKcmyk(0%, 6.8%, 71.7%, 19.6%)
CIE-LABlab(76.40, -9.83, 65.02)
CIE-LCHlch(76.40, 65.76, 98.60°)
OKLaboklab(79.32% -0.0337 0.144)
OKLCHoklch(79.32% 0.148 103.2)
XYZxyz(44.5733, 50.5481, 11.4110)
Luminance0.5055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF3A #3A48CD
analogous
#CD763A #CDBF3A #92CD3A
triadic
#CDBF3A #3ACDBF #BF3ACD
tetradic
#CDBF3A #3ACD76 #3A48CD #CD3A92
square
#CDBF3A #3ACD76 #3A48CD #CD3A92
split-complementary
#CDBF3A #3A92CD #763ACD
monochromatic
#70681C #A19629 #CDBF3A #D9CF6B #E6DF9C

Accessibility & contrast

On white

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

On black

11.11
#CDBF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBF3A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBF3A#FFFFFF#000000##000000
##CDBF3A1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B923
Deuteranopia (green-blind)
#D5BF43
Tritanopia (blue-blind)
#DCB2A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cdbf3a;
/* rgb */ color: rgb(205, 191, 58);
/* oklch */ color: oklch(79.3% 0.148 103.2);
Tailwind
colors: {
  custom: {
    50: '#e0d279',
    500: '#cdbf3a',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf3a;
$custom-light: #e0d279;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf3a",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 54.286,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79323,
    "c": 0.14786,
    "h": 103.2
  },
  "luminance": 0.50546
}

Semantic roles & 50–950 ramp

primary
#CDBF3A
secondary
#323979
accent
#54E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDBF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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