#CBB138#CBB138

#CBB138 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.138 H 96.6°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CBB138
RGBrgb(203, 177, 56)
HSLhsl(49, 59%, 51%)
HSVhsv(49, 72%, 80%)
CMYKcmyk(0%, 12.8%, 72.4%, 20.4%)
CIE-LABlab(72.51, -3.53, 61.92)
CIE-LCHlch(72.51, 62.02, 93.26°)
OKLaboklab(76.19% -0.016 0.1371)
OKLCHoklch(76.19% 0.138 96.6)
XYZxyz(41.0666, 44.4285, 10.1531)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB138 #3852CB
analogous
#CB6738 #CBB138 #9BCB38
triadic
#CBB138 #38CBB1 #B138CB
tetradic
#CBB138 #38CB67 #3852CB #CB389B
square
#CBB138 #38CB67 #3852CB #CB389B
split-complementary
#CBB138 #389BCB #6738CB
monochromatic
#6C5E1C #9D8829 #CBB138 #D8C469 #E4D799

Accessibility & contrast

On white

2.12
#CBB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CBB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB138
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB138#FFFFFF#000000##000000
##CBB1381.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD25
Deuteranopia (green-blind)
#CAB53F
Tritanopia (blue-blind)
#DBA399
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cbb138;
/* rgb */ color: rgb(203, 177, 56);
/* oklch */ color: oklch(76.2% 0.138 96.6);
Tailwind
colors: {
  custom: {
    50: '#dfc776',
    500: '#cbb138',
    950: '#000000',
  },
}
SCSS
$custom: #cbb138;
$custom-light: #dfc776;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb138",
  "rgb": {
    "r": 203,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 49.388,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76189,
    "c": 0.13802,
    "h": 96.6
  },
  "luminance": 0.44426
}

Semantic roles & 50–950 ramp

primary
#CBB138
secondary
#8F9AD0
accent
#62E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CBB138

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

Preview Lab → · Contrast checker → · Palette generator →

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