#CBB262#CBB262

#CBB262 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.104 H 92.5°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CBB262
RGBrgb(203, 178, 98)
HSLhsl(46, 50%, 59%)
HSVhsv(46, 52%, 80%)
CMYKcmyk(0%, 12.3%, 51.7%, 20.4%)
CIE-LABlab(73.17, -1.24, 43.83)
CIE-LCHlch(73.17, 43.85, 91.62°)
OKLaboklab(76.83% -0.0045 0.1042)
OKLCHoklch(76.83% 0.104 92.5)
XYZxyz(42.7551, 45.4211, 18.0680)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB262 #627BCB
analogous
#CB7E62 #CBB262 #B0CB62
triadic
#CBB262 #62CBB2 #B262CB
tetradic
#CBB262 #62CB7E #627BCB #CB62B0
square
#CBB262 #62CB7E #627BCB #CB62B0
split-complementary
#CBB262 #62B0CB #7E62CB
monochromatic
#86712C #B4973C #CBB262 #DAC990 #E9DFBE

Accessibility & contrast

On white

2.08
#CBB262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#CBB262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB262
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB262#FFFFFF#000000##000000
##CBB2621.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF5B
Deuteranopia (green-blind)
#C8B765
Tritanopia (blue-blind)
#D9A79F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cbb262;
/* rgb */ color: rgb(203, 178, 98);
/* oklch */ color: oklch(76.8% 0.104 92.5);
Tailwind
colors: {
  custom: {
    50: '#ddc890',
    500: '#cbb262',
    950: '#000000',
  },
}
SCSS
$custom: #cbb262;
$custom-light: #ddc890;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb262",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 45.714,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.76833,
    "c": 0.10425,
    "h": 92.5
  },
  "luminance": 0.45419
}

Semantic roles & 50–950 ramp

primary
#CBB262
secondary
#B0BAD9
accent
#6FDA4E
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CBB262

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

Preview Lab → · Contrast checker → · Palette generator →

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