#CBD45F#CBD45F

#CBD45F is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.0% C 0.141 H 113.1°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#CBD45F
RGBrgb(203, 212, 95)
HSLhsl(65, 58%, 60%)
HSVhsv(65, 55%, 83%)
CMYKcmyk(4.2%, 0%, 55.2%, 16.9%)
CIE-LABlab(82.17, -18.87, 55.80)
CIE-LCHlch(82.17, 58.91, 108.69°)
OKLaboklab(83.98% -0.0553 0.1298)
OKLCHoklch(83.98% 0.141 113.1)
XYZxyz(50.2387, 60.6106, 19.8768)
Luminance0.6061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD45F #685FD4
analogous
#D4A25F #CBD45F #91D45F
triadic
#CBD45F #5FCBD4 #D45FCB
tetradic
#CBD45F #5FD4A2 #685FD4 #D45F91
square
#CBD45F #5FD4A2 #685FD4 #D45F91
split-complementary
#CBD45F #5F91D4 #A25FD4
monochromatic
#899127 #B7C234 #CBD45F #DBE18F #EAEEBF

Accessibility & contrast

On white

1.60
#CBD45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#CBD45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD45F
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD45F#FFFFFF#000000##000000
##CBD45F1.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB53
Deuteranopia (green-blind)
#E2CE66
Tritanopia (blue-blind)
#D7C9BA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cbd45f;
/* rgb */ color: rgb(203, 212, 95);
/* oklch */ color: oklch(84.0% 0.141 113.1);
Tailwind
colors: {
  custom: {
    50: '#dde190',
    500: '#cbd45f',
    950: '#000000',
  },
}
SCSS
$custom: #cbd45f;
$custom-light: #dde190;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd45f",
  "rgb": {
    "r": 203,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 64.615,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83975,
    "c": 0.14113,
    "h": 113.1
  },
  "luminance": 0.6061
}

Semantic roles & 50–950 ramp

primary
#CBD45F
secondary
#474097
accent
#20C52D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD45F

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

Preview Lab → · Contrast checker → · Palette generator →

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