#CBB740#CBB740

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

Color values

HEX#CBB740
RGBrgb(203, 183, 64)
HSLhsl(51, 57%, 52%)
HSVhsv(51, 68%, 80%)
CMYKcmyk(0%, 9.9%, 68.5%, 20.4%)
CIE-LABlab(74.15, -6.26, 60.42)
CIE-LCHlch(74.15, 60.75, 95.91°)
OKLaboklab(77.5% -0.0229 0.1354)
OKLCHoklch(77.5% 0.137 99.6)
XYZxyz(42.4894, 46.9356, 11.6709)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB740 #4054CB
analogous
#CB7240 #CBB740 #9ACB40
triadic
#CBB740 #40CBB7 #B740CB
tetradic
#CBB740 #40CB72 #4054CB #CB409A
square
#CBB740 #40CB72 #4054CB #CB409A
split-complementary
#CBB740 #409ACB #7240CB
monochromatic
#72661F #A2912C #CBB740 #D8C970 #E5DBA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB740#FFFFFF#000000##000000
##CBB7401.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)
#C8B22F
Deuteranopia (green-blind)
#CEBA47
Tritanopia (blue-blind)
#DAAA9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cbb740;
/* rgb */ color: rgb(203, 183, 64);
/* oklch */ color: oklch(77.5% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#decc7b',
    500: '#cbb740',
    950: '#000000',
  },
}
SCSS
$custom: #cbb740;
$custom-light: #decc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb740",
  "rgb": {
    "r": 203,
    "g": 183,
    "b": 64
  },
  "hsl": {
    "h": 51.367,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77502,
    "c": 0.13728,
    "h": 99.6
  },
  "luminance": 0.46934
}

Semantic roles & 50–950 ramp

primary
#CBB740
secondary
#959ED2
accent
#5DE047
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB740

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

Preview Lab → · Contrast checker → · Palette generator →

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