#CBB256#CBB256

#CBB256 is a light, moderate yellow. Relative luminance 0.452; OKLCH L 76.7% C 0.116 H 94.3°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CBB256
RGBrgb(203, 178, 86)
HSLhsl(47, 53%, 57%)
HSVhsv(47, 58%, 80%)
CMYKcmyk(0%, 12.3%, 57.6%, 20.4%)
CIE-LABlab(73.03, -2.22, 49.51)
CIE-LCHlch(73.03, 49.56, 92.57°)
OKLaboklab(76.68% -0.0087 0.1153)
OKLCHoklch(76.68% 0.116 94.3)
XYZxyz(42.2304, 45.2112, 15.3045)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB256 #566FCB
analogous
#CB7856 #CBB256 #AACB56
triadic
#CBB256 #56CBB2 #B256CB
tetradic
#CBB256 #56CB78 #566FCB #CB56AA
square
#CBB256 #56CB78 #566FCB #CB56AA
split-complementary
#CBB256 #56AACB #7856CB
monochromatic
#7F6D27 #AE9436 #CBB256 #D9C785 #E8DDB4

Accessibility & contrast

On white

2.09
#CBB256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#CBB256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB256
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB256#FFFFFF#000000##000000
##CBB2561.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4D
Deuteranopia (green-blind)
#C9B75A
Tritanopia (blue-blind)
#DAA69D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb256;
/* rgb */ color: rgb(203, 178, 86);
/* oklch */ color: oklch(76.7% 0.116 94.3);
Tailwind
colors: {
  custom: {
    50: '#ddc888',
    500: '#cbb256',
    950: '#000000',
  },
}
SCSS
$custom: #cbb256;
$custom-light: #ddc888;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb256",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 47.179,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7668,
    "c": 0.11564,
    "h": 94.3
  },
  "luminance": 0.45209
}

Semantic roles & 50–950 ramp

primary
#CBB256
secondary
#A6B1D6
accent
#6ADC4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB256

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

Preview Lab → · Contrast checker → · Palette generator →

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