#CDBF4F#CDBF4F

#CDBF4F is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.5% C 0.133 H 102.2°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#CDBF4F
RGBrgb(205, 191, 79)
HSLhsl(53, 56%, 56%)
HSVhsv(53, 61%, 80%)
CMYKcmyk(0%, 6.8%, 61.5%, 19.6%)
CIE-LABlab(76.56, -8.64, 56.71)
CIE-LCHlch(76.56, 57.36, 98.66°)
OKLaboklab(79.5% -0.0281 0.1298)
OKLCHoklch(79.5% 0.133 102.2)
XYZxyz(45.2206, 50.8070, 14.8204)
Luminance0.5081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF4F #4F5DCD
analogous
#CD804F #CDBF4F #9CCD4F
triadic
#CDBF4F #4FCDBF #BF4FCD
tetradic
#CDBF4F #4FCD80 #4F5DCD #CD4F9C
square
#CDBF4F #4FCD80 #4F5DCD #CD4F9C
split-complementary
#CDBF4F #4F9CCD #804FCD
monochromatic
#7E7424 #AEA031 #CDBF4F #DBD07F #E8E2AE

Accessibility & contrast

On white

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

On black

11.16
#CDBF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBF4F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBF4F#FFFFFF#000000##000000
##CDBF4F1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB942
Deuteranopia (green-blind)
#D3C055
Tritanopia (blue-blind)
#DCB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdbf4f;
/* rgb */ color: rgb(205, 191, 79);
/* oklch */ color: oklch(79.5% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#dfd285',
    500: '#cdbf4f',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf4f;
$custom-light: #dfd285;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf4f",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 53.333,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79498,
    "c": 0.13276,
    "h": 102.2
  },
  "luminance": 0.50805
}

Semantic roles & 50–950 ramp

primary
#CDBF4F
secondary
#3B4386
accent
#59DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDBF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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