#CBCC7F#CBCC7F

#CBCC7F is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.099 H 109.0°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CBCC7F
RGBrgb(203, 204, 127)
HSLhsl(61, 43%, 65%)
HSVhsv(61, 38%, 80%)
CMYKcmyk(0.5%, 0%, 37.7%, 20%)
CIE-LABlab(80.41, -11.80, 38.26)
CIE-LCHlch(80.41, 40.04, 107.14°)
OKLaboklab(82.7% -0.0322 0.0935)
OKLCHoklch(82.7% 0.099 109)
XYZxyz(50.0528, 57.4155, 28.5201)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC7F #807FCC
analogous
#CCA67F #CBCC7F #A5CC7F
triadic
#CBCC7F #7FCBCC #CC7FCB
tetradic
#CBCC7F #7FCCA6 #807FCC #CC7FA5
square
#CBCC7F #7FCCA6 #807FCC #CC7FA5
split-complementary
#CBCC7F #7FA5CC #A67FCC
monochromatic
#94953B #B9BB53 #CBCC7F #DDDDAB #EFEFD7

Accessibility & contrast

On white

1.68
#CBCC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#CBCC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC7F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC7F#FFFFFF#000000##000000
##CBCC7F1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C679
Deuteranopia (green-blind)
#D9C982
Tritanopia (blue-blind)
#D5C3B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbcc7f;
/* rgb */ color: rgb(203, 204, 127);
/* oklch */ color: oklch(82.7% 0.099 109.0);
Tailwind
colors: {
  custom: {
    50: '#dcdba5',
    500: '#cbcc7f',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc7f;
$custom-light: #dcdba5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc7f",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 127
  },
  "hsl": {
    "h": 60.779,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82701,
    "c": 0.09893,
    "h": 109
  },
  "luminance": 0.57415
}

Semantic roles & 50–950 ramp

primary
#CBCC7F
secondary
#55549C
accent
#2FB631
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBCC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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