#CBD262#CBD262

#CBD262 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.6% C 0.136 H 112.2°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#CBD262
RGBrgb(203, 210, 98)
HSLhsl(64, 55%, 60%)
HSVhsv(64, 53%, 82%)
CMYKcmyk(3.3%, 0%, 53.3%, 17.6%)
CIE-LABlab(81.66, -17.64, 53.86)
CIE-LCHlch(81.66, 56.67, 108.14°)
OKLaboklab(83.58% -0.0515 0.126)
OKLCHoklch(83.58% 0.136 112.2)
XYZxyz(49.8809, 59.6725, 20.4432)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD262 #6962D2
analogous
#D2A162 #CBD262 #93D262
triadic
#CBD262 #62CBD2 #D262CB
tetradic
#CBD262 #62D2A1 #6962D2 #D26293
square
#CBD262 #62D2A1 #6962D2 #D26293
split-complementary
#CBD262 #6293D2 #A162D2
monochromatic
#8A9029 #B7C037 #CBD262 #DBE092 #EBEDC1

Accessibility & contrast

On white

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

On black

12.93
#CBD262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD262
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD262#FFFFFF#000000##000000
##CBD2621.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbd262;
/* rgb */ color: rgb(203, 210, 98);
/* oklch */ color: oklch(83.6% 0.136 112.2);
Tailwind
colors: {
  custom: {
    50: '#dddf92',
    500: '#cbd262',
    950: '#000000',
  },
}
SCSS
$custom: #cbd262;
$custom-light: #dddf92;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd262",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 63.75,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83578,
    "c": 0.13609,
    "h": 112.2
  },
  "luminance": 0.59672
}

Semantic roles & 50–950 ramp

primary
#CBD262
secondary
#474296
accent
#23C32D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD262

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

Preview Lab → · Contrast checker → · Palette generator →

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