#CBC67F#CBC67F

#CBC67F is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.092 H 104.8°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CBC67F
RGBrgb(203, 198, 127)
HSLhsl(56, 42%, 65%)
HSVhsv(56, 37%, 80%)
CMYKcmyk(0%, 2.5%, 37.4%, 20.4%)
CIE-LABlab(78.82, -8.74, 36.22)
CIE-LCHlch(78.82, 37.26, 103.56°)
OKLaboklab(81.44% -0.0234 0.0889)
OKLCHoklch(81.44% 0.092 104.8)
XYZxyz(48.6541, 54.6181, 28.0539)
Luminance0.5462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC67F #7F84CB
analogous
#CBA07F #CBC67F #AACB7F
triadic
#CBC67F #7FCBC6 #C67FCB
tetradic
#CBC67F #7FCBA0 #7F84CB #CB7FAA
square
#CBC67F #7FCBA0 #7F84CB #CB7FAA
split-complementary
#CBC67F #7FAACB #A07FCB
monochromatic
#948E3C #B9B353 #CBC67F #DDD9AB #EEEDD6

Accessibility & contrast

On white

1.76
#CBC67F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CBC67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC67F
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC67F#FFFFFF#000000##000000
##CBC67F1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C17A
Deuteranopia (green-blind)
#D4C582
Tritanopia (blue-blind)
#D5BDB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc67f;
/* rgb */ color: rgb(203, 198, 127);
/* oklch */ color: oklch(81.4% 0.092 104.8);
Tailwind
colors: {
  custom: {
    50: '#dcd7a5',
    500: '#cbc67f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc67f;
$custom-light: #dcd7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc67f",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 127
  },
  "hsl": {
    "h": 56.053,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.81436,
    "c": 0.09189,
    "h": 104.8
  },
  "luminance": 0.54617
}

Semantic roles & 50–950 ramp

primary
#CBC67F
secondary
#54599A
accent
#39B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC67F

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

Preview Lab → · Contrast checker → · Palette generator →

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