#CDBF3F#CDBF3F

#CDBF3F is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.4% C 0.145 H 103.0°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#CDBF3F
RGBrgb(205, 191, 63)
HSLhsl(54, 59%, 53%)
HSVhsv(54, 69%, 80%)
CMYKcmyk(0%, 6.8%, 69.3%, 19.6%)
CIE-LABlab(76.44, -9.59, 63.18)
CIE-LCHlch(76.44, 63.91, 98.63°)
OKLaboklab(79.36% -0.0325 0.141)
OKLCHoklch(79.36% 0.145 103)
XYZxyz(44.7067, 50.6015, 12.1138)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF3F #3F4DCD
analogous
#CD783F #CDBF3F #94CD3F
triadic
#CDBF3F #3FCDBF #BF3FCD
tetradic
#CDBF3F #3FCD78 #3F4DCD #CD3F94
square
#CDBF3F #3FCD78 #3F4DCD #CD3F94
split-complementary
#CDBF3F #3F94CD #783FCD
monochromatic
#746B1E #A4982B #CDBF3F #DACF70 #E6DFA0

Accessibility & contrast

On white

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

On black

11.12
#CDBF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBF3F
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBF3F#FFFFFF#000000##000000
##CDBF3F1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#DCB2A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdbf3f;
/* rgb */ color: rgb(205, 191, 63);
/* oklch */ color: oklch(79.4% 0.145 103.0);
Tailwind
colors: {
  custom: {
    50: '#e0d27c',
    500: '#cdbf3f',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf3f;
$custom-light: #e0d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf3f",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 54.085,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79359,
    "c": 0.14465,
    "h": 103
  },
  "luminance": 0.506
}

Semantic roles & 50–950 ramp

primary
#CDBF3F
secondary
#343B7C
accent
#55E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDBF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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