#CBB245#CBB245

#CBB245 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.5% C 0.130 H 96.2°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#CBB245
RGBrgb(203, 178, 69)
HSLhsl(49, 56%, 53%)
HSVhsv(49, 66%, 80%)
CMYKcmyk(0%, 12.3%, 66%, 20.4%)
CIE-LABlab(72.87, -3.37, 57.03)
CIE-LCHlch(72.87, 57.13, 93.38°)
OKLaboklab(76.5% -0.014 0.129)
OKLCHoklch(76.5% 0.13 96.2)
XYZxyz(41.6251, 44.9690, 12.1164)
Luminance0.4497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB245 #455ECB
analogous
#CB6F45 #CBB245 #A1CB45
triadic
#CBB245 #45CBB2 #B245CB
tetradic
#CBB245 #45CB6F #455ECB #CB45A1
square
#CBB245 #45CB6F #455ECB #CB45A1
split-complementary
#CBB245 #45A1CB #6F45CB
monochromatic
#756521 #A58F2E #CBB245 #D8C675 #E6DAA5

Accessibility & contrast

On white

2.10
#CBB245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#CBB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB245
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB245#FFFFFF#000000##000000
##CBB2451.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#CAB64B
Tritanopia (blue-blind)
#DBA59B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb245;
/* rgb */ color: rgb(203, 178, 69);
/* oklch */ color: oklch(76.5% 0.130 96.2);
Tailwind
colors: {
  custom: {
    50: '#dec87e',
    500: '#cbb245',
    950: '#000000',
  },
}
SCSS
$custom: #cbb245;
$custom-light: #dec87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb245",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 48.806,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76503,
    "c": 0.12977,
    "h": 96.2
  },
  "luminance": 0.44967
}

Semantic roles & 50–950 ramp

primary
#CBB245
secondary
#99A4D3
accent
#64E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB245

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

Preview Lab → · Contrast checker → · Palette generator →

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