#CBC26F#CBC26F

#CBC26F is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.105 H 103.0°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CBC26F
RGBrgb(203, 194, 111)
HSLhsl(54, 47%, 62%)
HSVhsv(54, 45%, 80%)
CMYKcmyk(0%, 4.4%, 45.3%, 20.4%)
CIE-LABlab(77.54, -8.38, 42.70)
CIE-LCHlch(77.54, 43.51, 101.10°)
OKLaboklab(80.34% -0.0237 0.1026)
OKLCHoklch(80.34% 0.105 103)
XYZxyz(46.7907, 52.4292, 22.6909)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC26F #6F78CB
analogous
#CB946F #CBC26F #A6CB6F
triadic
#CBC26F #6FCBC2 #C26FCB
tetradic
#CBC26F #6FCB94 #6F78CB #CB6FA6
square
#CBC26F #6FCB94 #6F78CB #CB6FA6
split-complementary
#CBC26F #6FA6CB #946FCB
monochromatic
#8D8433 #BAAE43 #CBC26F #DBD59C #EBE8C9

Accessibility & contrast

On white

1.83
#CBC26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CBC26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC26F
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC26F#FFFFFF#000000##000000
##CBC26F1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD68
Deuteranopia (green-blind)
#D2C273
Tritanopia (blue-blind)
#D7B8AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc26f;
/* rgb */ color: rgb(203, 194, 111);
/* oklch */ color: oklch(80.3% 0.105 103.0);
Tailwind
colors: {
  custom: {
    50: '#dcd49a',
    500: '#cbc26f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc26f;
$custom-light: #dcd49a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc26f",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 111
  },
  "hsl": {
    "h": 54.13,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.80344,
    "c": 0.10534,
    "h": 103
  },
  "luminance": 0.52428
}

Semantic roles & 50–950 ramp

primary
#CBC26F
secondary
#4B5294
accent
#39BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC26F

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

Preview Lab → · Contrast checker → · Palette generator →

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