#CBB157#CBB157

#CBB157 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.114 H 93.4°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#CBB157
RGBrgb(203, 177, 87)
HSLhsl(47, 53%, 57%)
HSVhsv(47, 57%, 80%)
CMYKcmyk(0%, 12.8%, 57.1%, 20.4%)
CIE-LABlab(72.78, -1.62, 48.75)
CIE-LCHlch(72.78, 48.78, 91.90°)
OKLaboklab(76.49% -0.0068 0.1138)
OKLCHoklch(76.49% 0.114 93.4)
XYZxyz(42.0728, 44.8309, 15.4521)
Luminance0.4483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB157 #5771CB
analogous
#CB7757 #CBB157 #ABCB57
triadic
#CBB157 #57CBB1 #B157CB
tetradic
#CBB157 #57CB77 #5771CB #CB57AB
square
#CBB157 #57CB77 #5771CB #CB57AB
split-complementary
#CBB157 #57ABCB #7757CB
monochromatic
#806C28 #AF9436 #CBB157 #D9C786 #E8DCB4

Accessibility & contrast

On white

2.11
#CBB157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#CBB157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB157
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB157#FFFFFF#000000##000000
##CBB1571.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4E
Deuteranopia (green-blind)
#C8B65B
Tritanopia (blue-blind)
#DAA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb157;
/* rgb */ color: rgb(203, 177, 87);
/* oklch */ color: oklch(76.5% 0.114 93.4);
Tailwind
colors: {
  custom: {
    50: '#ddc889',
    500: '#cbb157',
    950: '#000000',
  },
}
SCSS
$custom: #cbb157;
$custom-light: #ddc889;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb157",
  "rgb": {
    "r": 203,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 46.552,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76486,
    "c": 0.11399,
    "h": 93.4
  },
  "luminance": 0.44829
}

Semantic roles & 50–950 ramp

primary
#CBB157
secondary
#A7B2D7
accent
#6CDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB157

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

Preview Lab → · Contrast checker → · Palette generator →

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