#CBD274#CBD274

#CBD274 is a very light, moderate yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.118 H 112.4°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#CBD274
RGBrgb(203, 210, 116)
HSLhsl(64, 51%, 64%)
HSVhsv(64, 45%, 82%)
CMYKcmyk(3.3%, 0%, 44.8%, 17.6%)
CIE-LABlab(81.87, -15.99, 45.56)
CIE-LCHlch(81.87, 48.29, 109.34°)
OKLaboklab(83.81% -0.0451 0.1094)
OKLCHoklch(83.81% 0.118 112.4)
XYZxyz(50.8283, 60.0515, 25.4331)
Luminance0.6005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD274 #7B74D2
analogous
#D2AA74 #CBD274 #9CD274
triadic
#CBD274 #74CBD2 #D274CB
tetradic
#CBD274 #74D2AA #7B74D2 #D2749C
square
#CBD274 #74D2AA #7B74D2 #D2749C
split-complementary
#CBD274 #749CD2 #AA74D2
monochromatic
#929A32 #BAC346 #CBD274 #DCE1A2 #EEF0D0

Accessibility & contrast

On white

1.61
#CBD274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#CBD274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD274
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD274#FFFFFF#000000##000000
##CBD2741.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA6C
Deuteranopia (green-blind)
#DFCD79
Tritanopia (blue-blind)
#D6C8BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd274;
/* rgb */ color: rgb(203, 210, 116);
/* oklch */ color: oklch(83.8% 0.118 112.4);
Tailwind
colors: {
  custom: {
    50: '#dcdf9e',
    500: '#cbd274',
    950: '#000000',
  },
}
SCSS
$custom: #cbd274;
$custom-light: #dcdf9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd274",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 116
  },
  "hsl": {
    "h": 64.468,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83809,
    "c": 0.11829,
    "h": 112.4
  },
  "luminance": 0.60051
}

Semantic roles & 50–950 ramp

primary
#CBD274
secondary
#514B9F
accent
#27BE32
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CBD274

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

Preview Lab → · Contrast checker → · Palette generator →

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