#CBD25F#CBD25F

#CBD25F is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.5% C 0.139 H 112.2°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#CBD25F
RGBrgb(203, 210, 95)
HSLhsl(64, 56%, 60%)
HSVhsv(64, 55%, 82%)
CMYKcmyk(3.3%, 0%, 54.8%, 17.6%)
CIE-LABlab(81.63, -17.89, 55.19)
CIE-LCHlch(81.63, 58.01, 107.96°)
OKLaboklab(83.54% -0.0525 0.1285)
OKLCHoklch(83.54% 0.139 112.2)
XYZxyz(49.7419, 59.6169, 19.7111)
Luminance0.5962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD25F #665FD2
analogous
#D29F5F #CBD25F #92D25F
triadic
#CBD25F #5FCBD2 #D25FCB
tetradic
#CBD25F #5FD29F #665FD2 #D25F92
square
#CBD25F #5FD29F #665FD2 #D25F92
split-complementary
#CBD25F #5F92D2 #9F5FD2
monochromatic
#888F28 #B6BE36 #CBD25F #DBDF8F #EAEDBF

Accessibility & contrast

On white

1.62
#CBD25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#CBD25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD25F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD25F#FFFFFF#000000##000000
##CBD25F1.001.6212.9212.92
#FFFFFF1.621.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C953
Deuteranopia (green-blind)
#E0CC65
Tritanopia (blue-blind)
#D7C7B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd25f;
/* rgb */ color: rgb(203, 210, 95);
/* oklch */ color: oklch(83.5% 0.139 112.2);
Tailwind
colors: {
  custom: {
    50: '#dddf90',
    500: '#cbd25f',
    950: '#000000',
  },
}
SCSS
$custom: #cbd25f;
$custom-light: #dddf90;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd25f",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 95
  },
  "hsl": {
    "h": 63.652,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83544,
    "c": 0.13883,
    "h": 112.2
  },
  "luminance": 0.59616
}

Semantic roles & 50–950 ramp

primary
#CBD25F
secondary
#464194
accent
#48DF52
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD25F

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

Preview Lab → · Contrast checker → · Palette generator →

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