#CDB148#CDB148

#CDB148 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.127 H 94.2°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CDB148
RGBrgb(205, 177, 72)
HSLhsl(47, 57%, 54%)
HSVhsv(47, 65%, 80%)
CMYKcmyk(0%, 13.7%, 64.9%, 19.6%)
CIE-LABlab(72.82, -1.80, 55.73)
CIE-LCHlch(72.82, 55.76, 91.85°)
OKLaboklab(76.52% -0.0093 0.1267)
OKLCHoklch(76.52% 0.127 94.2)
XYZxyz(42.0707, 44.8935, 12.5790)
Luminance0.4489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB148 #4864CD
analogous
#CD6E48 #CDB148 #A7CD48
triadic
#CDB148 #48CDB1 #B148CD
tetradic
#CDB148 #48CD6E #4864CD #CD48A7
square
#CDB148 #48CD6E #4864CD #CD48A7
split-complementary
#CDB148 #48A7CD #6E48CD
monochromatic
#796721 #A9902E #CDB148 #DAC578 #E7DAA8

Accessibility & contrast

On white

2.10
#CDB148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CDB148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB148
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB148#FFFFFF#000000##000000
##CDB1481.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3C
Deuteranopia (green-blind)
#CAB64D
Tritanopia (blue-blind)
#DDA49B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb148;
/* rgb */ color: rgb(205, 177, 72);
/* oklch */ color: oklch(76.5% 0.127 94.2);
Tailwind
colors: {
  custom: {
    50: '#e0c880',
    500: '#cdb148',
    950: '#000000',
  },
}
SCSS
$custom: #cdb148;
$custom-light: #e0c880;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb148",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 47.368,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76515,
    "c": 0.12701,
    "h": 94.2
  },
  "luminance": 0.44891
}

Semantic roles & 50–950 ramp

primary
#CDB148
secondary
#9CA8D5
accent
#68E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB148

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

Preview Lab → · Contrast checker → · Palette generator →

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