#CBB254#CBB254

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

Color values

HEX#CBB254
RGBrgb(203, 178, 84)
HSLhsl(47, 53%, 56%)
HSVhsv(47, 59%, 80%)
CMYKcmyk(0%, 12.3%, 58.6%, 20.4%)
CIE-LABlab(73.01, -2.37, 50.43)
CIE-LCHlch(73.01, 50.49, 92.69°)
OKLaboklab(76.66% -0.0094 0.1171)
OKLCHoklch(76.66% 0.117 94.6)
XYZxyz(42.1510, 45.1794, 14.8860)
Luminance0.4518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB254 #546DCB
analogous
#CB7754 #CBB254 #A9CB54
triadic
#CBB254 #54CBB2 #B254CB
tetradic
#CBB254 #54CB77 #546DCB #CB54A9
square
#CBB254 #54CB77 #546DCB #CB54A9
split-complementary
#CBB254 #54A9CB #7754CB
monochromatic
#7E6C26 #AD9435 #CBB254 #D9C783 #E8DCB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB254#FFFFFF#000000##000000
##CBB2541.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)
#C2AF4B
Deuteranopia (green-blind)
#C9B758
Tritanopia (blue-blind)
#DAA69D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb254;
/* rgb */ color: rgb(203, 178, 84);
/* oklch */ color: oklch(76.7% 0.117 94.6);
Tailwind
colors: {
  custom: {
    50: '#dec887',
    500: '#cbb254',
    950: '#000000',
  },
}
SCSS
$custom: #cbb254;
$custom-light: #dec887;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb254",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 84
  },
  "hsl": {
    "h": 47.395,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76657,
    "c": 0.11743,
    "h": 94.6
  },
  "luminance": 0.45177
}

Semantic roles & 50–950 ramp

primary
#CBB254
secondary
#A5AFD6
accent
#6ADD4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CBB254

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

Preview Lab → · Contrast checker → · Palette generator →

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