#CBB74E#CBB74E

#CBB74E is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.6% C 0.127 H 98.6°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#CBB74E
RGBrgb(203, 183, 78)
HSLhsl(50, 55%, 55%)
HSVhsv(50, 62%, 80%)
CMYKcmyk(0%, 9.9%, 61.6%, 20.4%)
CIE-LABlab(74.26, -5.41, 54.59)
CIE-LCHlch(74.26, 54.86, 95.66°)
OKLaboklab(77.63% -0.0188 0.1252)
OKLCHoklch(77.63% 0.127 98.6)
XYZxyz(42.9390, 47.1154, 14.0387)
Luminance0.4711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB74E #4E62CB
analogous
#CB784E #CBB74E #A0CB4E
triadic
#CBB74E #4ECBB7 #B74ECB
tetradic
#CBB74E #4ECB78 #4E62CB #CB4EA0
square
#CBB74E #4ECB78 #4E62CB #CB4EA0
split-complementary
#CBB74E #4EA0CB #784ECB
monochromatic
#7B6D24 #AA9732 #CBB74E #D9CA7D #E7DDAD

Accessibility & contrast

On white

2.01
#CBB74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#CBB74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB74E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB74E#FFFFFF#000000##000000
##CBB74E1.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B342
Deuteranopia (green-blind)
#CDBA53
Tritanopia (blue-blind)
#DAABA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cbb74e;
/* rgb */ color: rgb(203, 183, 78);
/* oklch */ color: oklch(77.6% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#decc84',
    500: '#cbb74e',
    950: '#000000',
  },
}
SCSS
$custom: #cbb74e;
$custom-light: #decc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb74e",
  "rgb": {
    "r": 203,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 50.4,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7763,
    "c": 0.12657,
    "h": 98.6
  },
  "luminance": 0.47114
}

Semantic roles & 50–950 ramp

primary
#CBB74E
secondary
#A0A9D5
accent
#62DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBB74E

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

Preview Lab → · Contrast checker → · Palette generator →

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