#CBB742#CBB742

#CBB742 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.5% C 0.136 H 99.5°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#CBB742
RGBrgb(203, 183, 66)
HSLhsl(51, 57%, 53%)
HSVhsv(51, 67%, 80%)
CMYKcmyk(0%, 9.9%, 67.5%, 20.4%)
CIE-LABlab(74.16, -6.15, 59.63)
CIE-LCHlch(74.16, 59.95, 95.89°)
OKLaboklab(77.52% -0.0223 0.134)
OKLCHoklch(77.52% 0.136 99.5)
XYZxyz(42.5474, 46.9588, 11.9760)
Luminance0.4696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB742 #4256CB
analogous
#CB7342 #CBB742 #9ACB42
triadic
#CBB742 #42CBB7 #B742CB
tetradic
#CBB742 #42CB73 #4256CB #CB429A
square
#CBB742 #42CB73 #4256CB #CB429A
split-complementary
#CBB742 #429ACB #7342CB
monochromatic
#736720 #A3922D #CBB742 #D8C972 #E5DCA2

Accessibility & contrast

On white

2.02
#CBB742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#CBB742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB742
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB742#FFFFFF#000000##000000
##CBB7421.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B232
Deuteranopia (green-blind)
#CEBA49
Tritanopia (blue-blind)
#DAAA9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cbb742;
/* rgb */ color: rgb(203, 183, 66);
/* oklch */ color: oklch(77.5% 0.136 99.5);
Tailwind
colors: {
  custom: {
    50: '#decc7d',
    500: '#cbb742',
    950: '#000000',
  },
}
SCSS
$custom: #cbb742;
$custom-light: #decc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb742",
  "rgb": {
    "r": 203,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 51.241,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77519,
    "c": 0.13587,
    "h": 99.5
  },
  "luminance": 0.46957
}

Semantic roles & 50–950 ramp

primary
#CBB742
secondary
#979FD2
accent
#5EE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB742

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

Preview Lab → · Contrast checker → · Palette generator →

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