#CDBF2E#CDBF2E

#CDBF2E is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.2% C 0.155 H 103.6°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#CDBF2E
RGBrgb(205, 191, 46)
HSLhsl(55, 63%, 49%)
HSVhsv(55, 78%, 80%)
CMYKcmyk(0%, 6.8%, 77.6%, 19.6%)
CIE-LABlab(76.34, -10.34, 69.01)
CIE-LCHlch(76.34, 69.78, 98.52°)
OKLaboklab(79.25% -0.0363 0.1502)
OKLCHoklch(79.25% 0.155 103.6)
XYZxyz(44.3028, 50.4399, 9.9865)
Luminance0.5044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF2E #2E3CCD
analogous
#CD702E #CDBF2E #8CCD2E
triadic
#CDBF2E #2ECDBF #BF2ECD
tetradic
#CDBF2E #2ECD70 #2E3CCD #CD2E8C
square
#CDBF2E #2ECD70 #2E3CCD #CD2E8C
split-complementary
#CDBF2E #2E8CCD #702ECD
monochromatic
#696218 #9B9023 #CDBF2E #DBD05D #E6DE8F

Accessibility & contrast

On white

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

On black

11.09
#CDBF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBF2E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBF2E#FFFFFF#000000##000000
##CDBF2E1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B904
Deuteranopia (green-blind)
#D5BF3A
Tritanopia (blue-blind)
#DDB1A4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cdbf2e;
/* rgb */ color: rgb(205, 191, 46);
/* oklch */ color: oklch(79.2% 0.155 103.6);
Tailwind
colors: {
  custom: {
    50: '#e0d173',
    500: '#cdbf2e',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf2e;
$custom-light: #e0d173;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf2e",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 46
  },
  "hsl": {
    "h": 54.717,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79249,
    "c": 0.15453,
    "h": 103.6
  },
  "luminance": 0.50438
}

Semantic roles & 50–950 ramp

primary
#CDBF2E
secondary
#2C3373
accent
#50E641
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CDBF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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