#CBC262#CBC262

#CBC262 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.119 H 103.9°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#CBC262
RGBrgb(203, 194, 98)
HSLhsl(55, 50%, 59%)
HSVhsv(55, 52%, 80%)
CMYKcmyk(0%, 4.4%, 51.7%, 20.4%)
CIE-LABlab(77.38, -9.57, 48.86)
CIE-LCHlch(77.38, 49.79, 101.08°)
OKLaboklab(80.17% -0.0285 0.1152)
OKLCHoklch(80.17% 0.119 103.9)
XYZxyz(46.1263, 52.1634, 19.1917)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC262 #626BCB
analogous
#CB8E62 #CBC262 #A0CB62
triadic
#CBC262 #62CBC2 #C262CB
tetradic
#CBC262 #62CB8E #626BCB #CB62A0
square
#CBC262 #62CB8E #626BCB #CB62A0
split-complementary
#CBC262 #62A0CB #8E62CB
monochromatic
#867E2C #B4AA3C #CBC262 #DAD490 #E9E6BE

Accessibility & contrast

On white

1.84
#CBC262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#CBC262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC262
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC262#FFFFFF#000000##000000
##CBC2621.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC59
Deuteranopia (green-blind)
#D4C167
Tritanopia (blue-blind)
#D8B7AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc262;
/* rgb */ color: rgb(203, 194, 98);
/* oklch */ color: oklch(80.2% 0.119 103.9);
Tailwind
colors: {
  custom: {
    50: '#ddd491',
    500: '#cbc262',
    950: '#000000',
  },
}
SCSS
$custom: #cbc262;
$custom-light: #ddd491;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc262",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 54.857,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80167,
    "c": 0.11862,
    "h": 103.9
  },
  "luminance": 0.52162
}

Semantic roles & 50–950 ramp

primary
#CBC262
secondary
#444A8D
accent
#5ADA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC262

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

Preview Lab → · Contrast checker → · Palette generator →

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