#CBB038#CBB038

#CBB038 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.137 H 96.0°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CBB038
RGBrgb(203, 176, 56)
HSLhsl(49, 59%, 51%)
HSVhsv(49, 72%, 80%)
CMYKcmyk(0%, 13.3%, 72.4%, 20.4%)
CIE-LABlab(72.25, -3.00, 61.66)
CIE-LCHlch(72.25, 61.73, 92.79°)
OKLaboklab(75.98% -0.0145 0.1366)
OKLCHoklch(75.98% 0.137 96)
XYZxyz(40.8698, 44.0349, 10.0875)
Luminance0.4403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB038 #3853CB
analogous
#CB6638 #CBB038 #9CCB38
triadic
#CBB038 #38CBB0 #B038CB
tetradic
#CBB038 #38CB66 #3853CB #CB389C
square
#CBB038 #38CB66 #3853CB #CB389C
split-complementary
#CBB038 #389CCB #6638CB
monochromatic
#6C5E1C #9D8829 #CBB038 #D8C369 #E4D799

Accessibility & contrast

On white

2.14
#CBB038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#CBB038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB038
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB038#FFFFFF#000000##000000
##CBB0381.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#DBA298
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbb038;
/* rgb */ color: rgb(203, 176, 56);
/* oklch */ color: oklch(76.0% 0.137 96.0);
Tailwind
colors: {
  custom: {
    50: '#dfc776',
    500: '#cbb038',
    950: '#000000',
  },
}
SCSS
$custom: #cbb038;
$custom-light: #dfc776;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb038",
  "rgb": {
    "r": 203,
    "g": 176,
    "b": 56
  },
  "hsl": {
    "h": 48.98,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75982,
    "c": 0.13731,
    "h": 96
  },
  "luminance": 0.44033
}

Semantic roles & 50–950 ramp

primary
#CBB038
secondary
#8F9BD0
accent
#63E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CBB038

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

Preview Lab → · Contrast checker → · Palette generator →

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